title: Passing an array to mysql
body: <p>I currently have an array of values (business_id's)</p>
  
  <p>lets say its</p>
  
  <pre><code>Array
  (
  [0] =&gt; 12
  [1] =&gt; 14
  [2] =&gt; 15
  )
  </code></pre>
  
  <p>What is the best way to use each of these value to get the associated row information for each business_id from the database.</p>
  
  <p>Can it be one in one query is my question.  Obviously, you could do</p>
  
  <pre><code>$q = "select * from business where business_id = 12";
  $rs = mysql_query($q);
  </code></pre>