refiking Posted April 22, 2008 Share Posted April 22, 2008 Here's what the script returns: Parse error: syntax error, unexpected ';' on line 67 Here is line 67: echo '<td><font color="silver">'.$gd["lname"].'</font></td><td><font color="silver">'.date('m/d/y g:i A', strtotime($gd["dtime"]).'</td><td><a href="udt.php?user='.$uid.'&lid='.$gd['lname'].'&sid='.$gd['sid'].'">Update '.$gd['lname'].' Now></a></td>';}?> Quote Link to comment Share on other sites More sharing options...
DarkWater Posted April 22, 2008 Share Posted April 22, 2008 You must have missed a quote somewhere I think. Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted April 22, 2008 Share Posted April 22, 2008 show line 66 because sometimes there will be an error in the line before that causes the next line to report an error. Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted April 22, 2008 Share Posted April 22, 2008 You're missing a closing bracket after your date function. A prime example why it's better to split this sort of thing up onto multiple lines. You would have seen it if you did - it was the only way i could find it: <?php echo '<td><font color="silver">'.$gd["lname"].'</font></td><td><font color="silver">'.date('m/d/y g:i A', strtotime($gd["dtime"])).'</td><td><a href="udt.php?user='.$uid.'&lid='.$gd['lname'].'&sid='.$gd['sid'].'">Update '.$gd['lname'].' Now></a></td>';}?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.