Hi all,
I am trying to use odbc_fetch_row to retrieve the results of my query. Here is a code snippet:
$accessResult = odbc_do($accessConn, $query);
do{
//my stuff
}while(odbc_fetch_row($accessResult));
odbc_close($accessConn);
And the error i get is:
<b>Warning</b>: odbc_fetch_row(): 2 is not a valid ODBC result resource in <b>C:\Inetpub\wwwroot\map\queryOwner.php</b> on line <b>54</b><br /> (line 54 is my while statement).
I know that the accessResult variable is valid, because i used it succcessfully in the first iteration of the do loop in an odbc_result() call (before odbc_fetch_row was called). What am I doing wrong? (BTW, its an access database behind the odbc)
Thanks for any help,
Ben