Friday, 9 August 2013

mysql - Set more than one value for 'WHERE' condition

mysql - Set more than one value for 'WHERE' condition

I have the following query:
$select_query = "SELECT * FROM users WHERE userName='$user_name',
password='$password'";
The problem is that the query always fail, so how can I fix the 'WHERE'
condition?

No comments:

Post a Comment