title: PHP odbc_fetch_row. Showing only certain row
body: <p>I have a procedure that outputs a table with 4 columns and 2 rows. I want data on the 3rd column and second row. The code here gives me the row data for the different columns as i change them below but it outputs the first and second row data for the 3rd column like this: row1datarow2data. Its both row values and I only want the 2nd row. Can someone please help me fix this. </p>
  
  <p>Thanks.</p>
  
  <pre><code>&lt;?php
  $result=odbc_exec($conn, $query); 
  
  //fetch tha data from the database 
  while(odbc_fetch_row($result))
  {
  
  echo "&lt;tr&gt;"; 
  
  echo "&lt;td&gt;";
  
  //if i change the 3 under here to a 2 I get the other two row values for the 2nd,column.
  echo odbc_result($result,3);
   ?&gt;
  </code></pre>