title: MS Access Query with Parameter does not work with php / sql
body: <p>I have an access database which i connect with php odbc.
  Problem occurs when i access a query with php which have ms access parameters (Pop up in access for parameter entry) associated with it.</p>
  
  <pre><code>Warning: odbc_exec(): SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
  </code></pre>
  
  <p>My code is as below: </p>
  
  <pre><code>&lt;?php 
  
      function od_get_test() {
          // Executing Query ...
          global $cnx;
          $query = "SELECT * FROM qry_DailyIssued WHERE Issue=1 " ; // Issue is a ms access query parameter
          $od_flat_stock = odbc_exec($cnx, $query);
          confirm_query($od_flat_stock);
          return $od_flat_stock;
      }
  
       $od_test = od_get_test();
  
  ?&gt;
  </code></pre>