OK, i am trying to write a large chunk of HTML to a file. my problem is if i do fwrite($file, "blah="yo""); its gonna screw up because of the "" around the yo. I am still learning PHP but am guessing that i could to fwrite($file, 'blah="yo"'); and it wont screw up cus of the '' instead of "". But i want to add variables to my html etg blah="$var1" and if i use the '' then its gonna print $var1 instead of the contents of $var1.
I am wondering if there is anything similar to
print<<EOF;
etc..
etc..
EOF;
in PHP? and if there isnt would it be better to use fwrite($file, all mu html); or do fwrite(£file, each line of html at a time);
I hope you can make sence of what i am blabbering on about
thnx 🙂