Page 2 of 2
Posted: Tue May 08, 2007 3:58 pm
by guitarlvr
line 146 is:
Code: Select all
<td width="320"><?php echo "$username" ?></td>
your going to need a semicolon ';' after the doublequote before closing php.
Code: Select all
<td width="320"><?php echo "$username"; ?></td>
Also, your using the short tags to open php. its probably a good idea to use the full version rather than short tags (<?php)
Wayne
Posted: Tue May 08, 2007 4:06 pm
by RobertGonzalez
You don't even need the double quote.
Code: Select all
<td width="320"><?php echo $username; ?></td>
Posted: Tue May 08, 2007 4:14 pm
by thefreebielife
PHP Parse error: syntax error, unexpected $end in /hermes/web10/b257/pow.thefreebielife/cash/htdocs/editaccount.php on line 507
from my error log. thats the last line and it "/html"
Posted: Tue May 08, 2007 4:17 pm
by guitarlvr
that usually means your missing an end bracket } somewhere.
Wayne
Posted: Tue May 08, 2007 4:22 pm
by guitarlvr
looks like you have two missing. the initial one (end bracket is missing)
Code: Select all
if (isset($_GET["form"]) && $_GET['form'] == "password") {
and if statement on line 42 doesnt seem to have one:
Wayne
Posted: Tue May 08, 2007 4:28 pm
by thefreebielife
fixed it.
thanks for everyones help, thats why i love coming here

Posted: Tue May 08, 2007 4:49 pm
by RobertGonzalez
Couple of things for later...
For your development environment, turn display_errors on and set error_reporting to E_ALL. Also, get a good syntax highlighting editor that handles code folding and bracket matching WITH error notices. 2 come to mind right now: Eclipse and PSPad.