I have been trying to follow the code written on youtube for creating a comment section for my website.
I use the following code for the form:
<?php
echo "<form>
<input type=-'hidden' name='uid' value='Anonymous'>
<input type='hidden' name='date' value='".date('Y-m-d H:i:s')."'>
<textarea name='message'></textarea><br>
<button type='submit' name='submit'>Comment</button>
<form>";
?>
However, when I preview in browser it shows the Comment button followed by ""; ?>"
Everything is within the proper fields - I cannot figure out for the life of me what I am doing wrong - I followed the video to the T, and there are tons of comments saying that the code works - https://www.youtube.com/watch?v=1LmPeHX7RRo
Any ideas?