I am new to php and wondering if I can have something like this:
...
I think you want heredoc syntax.
For example:
$var = <<<HTML <html> <head> random crap here </html> HTML;