title: PHP odbc_prepare WHERE field IN ($LIST) - (Progress OpenEdge 10.2A)
body: <p>I am trying to write a query using the odbc_prepare and odbc_execute statements like so:</p>
  
  <pre><code>$query = 'SELECT * FROM TABLE WHERE names IN (?) AND age &lt; ?';
  $names = "Joe, John, Billy";
  $age = 21;
  $result = odbc_prepare($this-&gt;connection, $query);
  odbc_execute($query, array($names, $age));
  </code></pre>
  
  <p>Of course for some reason this isn't working and I have tried several variations on my $names variable formatting.  Any help would be appreciated as I haven't been able to find any examples of a query that uses odbc_prepare and a WHERE IN clause.</p>
  
  <p>I am connecting to a Progress database using an OpenEdge 10.2A odbc driver.</p>