I am trying to select from a table where multiple variables are set, here's a snippet of my code:
$query2 = "SELECT * FROM users WHERE FIRSTNAME='$first_name', LASTNAME='$last_name', USERNAME='$username', PASSWORD='$password'";
Its not working for me. Can anyone help please?