Posted by Moneypenny on 12/28/05 12:51
Hy,
I've got an short ifelse notation, but can give only one action like:
$test == 1 ? $do = true : $do = false;
But this gives an parse error:
$test == 1 ? $do = true $who = "me" : $do = false;
or
$test == 1 ? $do = true; $who = "me"; : $do = false;
All gives a parse error.
How can i do this?
Tnx.
Navigation:
[Reply to this message]
|