Page 1 of 1

Heredoc syntax: Calling a function?

Posted: Sun Oct 24, 2004 5:55 am
by mhulse
Title: Heredoc syntax: Calling a function?


How do I call a PHP function within the html of heredoc syntax?

The only way I can think of to do it would be to put my function calls within variables... and use the variables within the heredoc html...

Is that the proper way/best way?

Any help would be appreciated.

Thanks
Cheers
Micky

Posted: Sun Oct 24, 2004 6:17 am
by vigge89
store the function result inside a variable and then put the variable in the heredoc block?