WatsonN Posted October 8, 2010 Share Posted October 8, 2010 I'm getting the error Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/content/n/a/t/nathanwatson/html/admin/post.php on line 156 and I cant find whats wrong with it Line 156 & 157: $check = mysql_query("SELECT * FROM users WHERE UID = '$_COOKIE['UID_WatsonN']'")or die(mysql_error()); while($info = mysql_fetch_array( $check )) { Link to comment https://forums.phpfreaks.com/topic/215455-parse-error/ Share on other sites More sharing options...
BlueSkyIS Posted October 8, 2010 Share Posted October 8, 2010 $check = mysql_query("SELECT * FROM users WHERE UID = '".$_COOKIE['UID_WatsonN']."'")or die(mysql_error()); Link to comment https://forums.phpfreaks.com/topic/215455-parse-error/#findComment-1120370 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.