I have the code bellow embedded in my php tags, however it does not read the html, does anyone know why? Any help would be appreciated.
echo <<<_END
<pre>
<form action = "sqltest.php" method = "POST">
Author <input type = "text" name = "author" />
Title <input type = "text" name = "title" />
Category <input type = "text" name = "category" />
Year <input type = "text" name = "year" />
ISBN <input type = "text" name = "isbn" />
<input type = "submit" value = "Add Record" />
</form>
</pre>
_END;
The problem was with the whitespace, be careful when using the <<<_END statement as your default text editor may indent it. There must be no whitespace.