Posted by Dana Cartwright on 05/04/06 06:59
<techjohnny@gmail.com> wrote in message
news:1146712732.908890.6470@j73g2000cwa.googlegroups.com...
> Ok, I'm just trying to prevent people from viewing and downloading the
> php code. Since some of the form.php is in html, is there an easy way
> to convert to complete .php without having to add "echo "line"; " in
> each part of the html?
Look at the "heredoc" syntax. Pay particular attention to the fact that you
can put PHP variables within the heredoc text.
Navigation:
[Reply to this message]
|