I was wondering if it is possible to use a here document with some html code that has some javascript embedded into it. I tried but i wouldnt work i m using php 4. Here is the syntax that i used the ... contains some html and javascript. Is anything wrong with the syntax that i am using?
print <<< TOP
<HTML>
<HEAD>
<TITLE>$Title - $Heading</TITLE>
</head>
....
....
...
TOP;