Hi,
I have a problem with the odbc_tables command running with IIS4 and the ISAPI module.
Could it ba a problem with ISAPI? Maybe someone out there knows.
Anyway, the command returns the list of tables in the database maybe 1 in 20 times. When it fails the call to odbc_tables() returns a result but when passing this to odbc_fetch_row() this function returns false and $row is not populated.
$result=odbc_tables($db,"%");
if($result) {
while(($rep=odbc_fetch_row($result))) {
$row[]=odbc_result($result,3);
}
} else
echo "Error in odbc_tables()";
Any idears?