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\"
You can use the PHP function addslashes() to any string to make it compatible