[snip]
In Perl you could print a block of information as it was written like this;
print <<HTML_END;
This a whole bunch of HTML code!!!
HTML_END
The best part about this, was that you did not have to escape your " and you
could mix in your variables making it easy to design and layout the HTML. Is
there a similiar way to do this in PHP?
[/snip]
$variable = <<< HERE
all kinds of stuff
HERE;
print("$variable");
HTH!
Jay
"Two wrongs are only the beginning"
*************************************
* Want to meet other PHP developers *
* in your area? Check out: *
* http://php.meetup.com/ *
* No developer is an island ... *
*************************************
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php