Actually i once saw some PHP code on php.net but i forgot its name or usage.
It is something may be related to heredoc (may be not)
What i am trying to achieve is to do HTML inside php IF conditions..
it was somthing like
xhtml code here
i hope u understand what i am trying to ask!
thanks for your help.
If you’re referring to the alternative syntax for control structures, it’s something like this:
Reference: http://php.net/manual/en/control-structures.alternative-syntax.php