fife Posted April 19, 2011 Share Posted April 19, 2011 like so... echo" $query = mysql_query("SELECT * FROM table WHERE memberID = ".$User['memberID'].""); "; ?????????????? Quote Link to comment Share on other sites More sharing options...
Zane Posted April 19, 2011 Share Posted April 19, 2011 If you make it a string first then yeah. Otherwise, with your current code... no. example $sql = "SELECT * FROM table WHERE memberID = ".$User['memberID']; $query = mysql_query($sql); echo $sql; Quote Link to comment Share on other sites More sharing options...
fife Posted April 19, 2011 Author Share Posted April 19, 2011 cool ok thank you 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.