I’m basically reusing code that I had working on another site that I worked on, with almost no changes to the code at all. What’s happening is that I’m using an HTML form to send data to this page and then do a database lookup. When trying to run the page, I get the following error:
“Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/www/XXXXXXXXXXX/login.php on line 13”
Line 13 is as follows:
$pnameent = $_POST['toon'];
Another oddity that I noticed is that the line:
echo "<p style='color:white'> Insert boring text here.</p>";
also return a parser error, specifically complaining about an unexpected ‘>’.
Any help would be appreciated.