Re: what do '?' and ':' do?

From: Date: Mon, 17 May 2004 19:55:10 +0000
Subject: Re: what do '?' and ':' do?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-186426@lists.php.net to get a copy of this message
From: "Radek Zajkowski" <radek.z@engage-learn.com> > $module_dir = ($module == "") > ? "" > : $module."/"; > > what does the semicolon and the question mark do? Ternary Operator: http://us2.php.net/operators.comparison ---John Holmes...

« previous php.general (#186426) next »