title: MySQL Query using php explode arrary as WHERE
body: <p>After several hours of tinkering I cannot seem to figure this out. I have a table in the database which holds a CSV field full of values. After using the php explode function I am left with an array. </p>
  
  <pre><code>$emailarray = list($email) = explode(",", $csv);
  
  
  while($arrayreadable = mysql_fetch_array($emailarray,$emailcount[0])){
  
  
  
  $makefeed = mysql_query("SELECT email,name FROM $statusdatabase WHERE email = $arrayreadable[`0`]'");
  while ($friendfeedget = mysql_fetch_assoc($makefeed)) {
  
  [Code for what I want the loop to do]
  
  }
  
  
  }
  </code></pre>