Re: what do '?' and ':' do?
| From: | Matt Matijevich | Date: | Mon, 17 May 2004 19:44:45 +0000 |
| Subject: | Re: what do '?' and ':' do? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-186423@lists.php.net to get a copy of this message | ||
[snip]
what does the semicolon and the question mark do?
[/snip]
http://www.php.net/operators.comparison
look at the ternary operator