ballhogjoni Posted July 27, 2007 Share Posted July 27, 2007 can some one tell me what I am doing wrong with this code? I know it has something to do with the session. $query = mysql_query("SELECT * FROM users WHERE user_id = '$_SESSION['user_id']'"); Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted July 27, 2007 Share Posted July 27, 2007 <?php $query = mysql_query("SELECT * FROM users WHERE user_id = '{$_SESSION['user_id']}'"); ?> 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.