echo "something " . (($a = $a^1) ? "red\n" : "green\n");

Re: The "?" char in this ^^^^ line above..
where in the php docs can I read about what that is doing?
I have not come across this construct before today, from you guys.

thanks
-John

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to