A admin Administrator Staff member Aug 20, 2008 #1 How can I construct a mysql query with php variable in it, does everyone know? like: $result=mysql_db_query($db, "SELECT * FROM table WHERE user=$user"); This second parameter has given me a lot of problems.
How can I construct a mysql query with php variable in it, does everyone know? like: $result=mysql_db_query($db, "SELECT * FROM table WHERE user=$user"); This second parameter has given me a lot of problems.