title: What is the error in this query. Help Appreciated
body: <pre><code>$sql = "SELECT * FROM ".$SETTINGS["USERS"]."'WHERE email =$email'".mysqli_real_escape_string($_POST['email'])."'AND password = $pw'".mysqli_real_escape_string($_POST['password'])."'";          
  </code></pre>