title: Simple SQL query selecting from table where email = email
body: <p>I've got two php values called $email and $pass. </p>
  
  <p>email - Name of row in MySQL database 
  password - Name of row in MYSQL database </p>
  
  <p>I'm running a sql query to select from table member where email = $email and password =$pass. </p>
  
  <p>I'm then running mysqli_query to see if a row exists, I'm not getting any results. Surely the echo would echo out the ID of where the info matches. </p>
  
  <pre><code>//Get the connection info. 
  global $connect;
  
  $sql = "SELECT FROM members WHERE email='$email' AND password='pass'";
  
  //Fetch the row and store the ID of this row.
  $row = mysqli_query($connect, $sql);
  $id = $row['userID'];
  
  echo $id;
  </code></pre>