PHP: Nested if statements?

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?
 
Back
Top Bottom