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>';}?> Link to comment https://forums.phpfreaks.com/topic/102412-parse-error-i-dont-see-it/ 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. Link to comment https://forums.phpfreaks.com/topic/102412-parse-error-i-dont-see-it/#findComment-524406 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. Link to comment https://forums.phpfreaks.com/topic/102412-parse-error-i-dont-see-it/#findComment-524410 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>';}?> Link to comment https://forums.phpfreaks.com/topic/102412-parse-error-i-dont-see-it/#findComment-524434 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.