Hi All
In Perl I can do this
print <<END
text
more text
more text
etc.
END
And the output would be
text
more text
more text
etc.
Is there a similar answer in php or am I stuck with this?
print "text";
print "more text";
print "more text";
print "etc.";
The reason for my question is that I need to output a complete html page and oviously it is a pain the way I have shown it above.
In Perl I can do this
print <<END
text
more text
more text
etc.
END
And the output would be
text
more text
more text
etc.
Is there a similar answer in php or am I stuck with this?
print "text";
print "more text";
print "more text";
print "etc.";
The reason for my question is that I need to output a complete html page and oviously it is a pain the way I have shown it above.