I am getting a parse error, and I think it\'s because of the quotation marks over \"time\". How can I make it treat it as a whole string?
\"time\"
Use htmlspecialchars(). Then quote and less / greater than symbols don't break your HTML tags~