What Steve said. :-)
But seriously:
$template = ("<?php echo ("Stuff Here"); ?>");
You're trying to embed quotes inside a string here, but you
can only do by escaping them with a backslash.
But even if you fix that, this line still won't make sense even
if it no longer causes an error. Have you ever programmed in
C? What <b>require</b> and <b>include</b> is just insert
the contents of the included file as if it were written in
the main file; the only exception being that you drop out
of php script mode, so if you still want to be writing scrip
in the included file, it must begin with <?php .
If you want to echo something from the include/require
file, just echo it.