refiking Posted October 29, 2008 Share Posted October 29, 2008 It says it's an unexpecte T Variable on line 38 I'm posting lines 37 - 41 IF($tlid == $sid){ $sql = mysql_query("SELECT * FROM `owners` WHERE `sid` = '$sid'")or die(mysql_error()); while($row = mysql_fetch_assoc($sql)){ $date = $row['exp_date']; } Link to comment https://forums.phpfreaks.com/topic/130526-solved-cant-find-syntax-error/ Share on other sites More sharing options...
kenrbnsn Posted October 29, 2008 Share Posted October 29, 2008 Can you post a few more lines above these? Ken Link to comment https://forums.phpfreaks.com/topic/130526-solved-cant-find-syntax-error/#findComment-677159 Share on other sites More sharing options...
asmith Posted October 29, 2008 Share Posted October 29, 2008 I can't see anything there . sometimes errors happen way before a line, but because of something in that line it gives you error. try cut some of your code, save your file and see if the error is gone, if so, then you have cut the criminal or show us more code. Link to comment https://forums.phpfreaks.com/topic/130526-solved-cant-find-syntax-error/#findComment-677160 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.