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 )) { Quote Link to comment 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()); 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.