Is there much point in using "<<<EOD ... EOD;" ?
When I used it in an OOP PHP script, it failed on me.
Thanks. Jon
I used to use that type of syntax in PERL, but in php I see no need as you can just drop out of php and back into it
Of course, if you're putting it in a string you can't do the "dropping out" bit.
Heredoc syntax works without any trouble in objects. For obvious reasons I can't say why you're having trouble.
Originally posted by Weedpacket Of course, if you're putting it in a string you can't do the "dropping out" bit.
yeah for that I use templates with a simple reg_ex replace for variables