13 May 2011 at 13:41 #1 PiKe PiKe Caporegime Joined 18 Oct 2002 Posts 25,287 Location Lake District I know how to do nested if statements using the curly brackets but I can't figure out how to do it with the shorthand if's. eg <?= (($blah = 1)? 'do this' : 'do that'); ?> how would I nest another if in the do this bit?
I know how to do nested if statements using the curly brackets but I can't figure out how to do it with the shorthand if's. eg <?= (($blah = 1)? 'do this' : 'do that'); ?> how would I nest another if in the do this bit?
13 May 2011 at 14:37 #5 PiKe PiKe Caporegime OP Joined 18 Oct 2002 Posts 25,287 Location Lake District Ok thanks.