Parse error (RESOLVED)
Posted: Fri Dec 16, 2005 11:02 pm
Ok guys, I am trying to make it so when a person goes to index.php?update=pass or ?update=email it tells them a message.
I came up that The best way to do this is:
but it returns: Parse error: parse error, unexpected $ in /home/rootdet/public_html/bfa/cp/index.php on line 210
Surprisingly, this staretd after i was coding this. on line 210 is the </html> tag!
Any thoughts?
I came up that The best way to do this is:
Code: Select all
<?php
if ($_GET['update'] == pass)
echo "<font color='green'>Password Updated!</font>\n";
{
if ($_GET['update'] == email)
echo "<font color='green'>E-Mail Address Updated!</font>\n";
exit;
?>Surprisingly, this staretd after i was coding this. on line 210 is the </html> tag!
Any thoughts?