leehinkleman
Programmer
Could someone please tell me the PHP equivalent of the Perl
open(ABC,">abc.txt"
print ABC <<"EOF";
# one blank line(above), and then lines of html...
EOF
exit;
close(ABC);
This PHP code:
echo <<<EOF
# lines of html
EOF;
displays 'lines of html' OK, but can that echo, or print, output the 'lines of html' to a file?
Thanks for your help.
open(ABC,">abc.txt"
print ABC <<"EOF";
# one blank line(above), and then lines of html...
EOF
exit;
close(ABC);
This PHP code:
echo <<<EOF
# lines of html
EOF;
displays 'lines of html' OK, but can that echo, or print, output the 'lines of html' to a file?
Thanks for your help.