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; ?
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
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
3 matches
Mail list logo