Re: [PHP] break out of ?php... midway thru' an if { } statement ?

2010-10-11 Thread Micky Hulse
If I understand the question correctly, I think the answer is yes. Maybe something like this: ?php if ($AlertUser2success): ? Normal HTML, or MT tags, here. ?php elseif ($foo == $bar): ? Normal HTML, or MT tags, here. ?php else: ? Normal HTML, or MT tags, here. ?php endif; ?

Re: [PHP] break out of ?php... midway thru' an if { } statement ?

2010-10-11 Thread Joshua Kehn
If I'm understanding the question right, yes you can. if($AlertUser2success != 0) { ? div class=pg_DIVmainText img class=divBGgradient style= src=images/BehindBox01.png alt= / div ?php include(); ? /div /div ?php } Regards, -Josh

Re: [PHP] break out of ?php... midway thru' an if { } statement ?

2010-10-11 Thread Govinda
If I understand the question correctly, I think the answer is yes. great!! Next time I will save myself so much time! Thank you guys! -G Alternative syntax for control structures http://php.net/manual/en/control-structures.alternative-syntax.php -- PHP General Mailing List