Reply to thread

Its the same logic. It just happens to be 1 compact line (which I always forget the syntax of, so I never use it), rather than using code blocks. Just programming differences. The one line compact is more useful (to me) when you use something like this:


[php] $is_happy = true;

$happygolucky = $is_happy ? 'true' : 'false';[/php]


Back
Top Bottom