Re: [PHP-DB] odbc_fetch_row

2001-04-15 Thread Andrew Hill
Randall, Try something like: if (!(odbc_result($result_identifier)) echo "result is null"; Best regards, Andrew Andrew Hill . Director Technology Evangelism OpenLink Software . http://www.openlinksw.com Internet Data Integration Technology On

RE: [PHP-DB] odbc_fetch_row

2001-04-13 Thread Francois Legare
maybe you could try odbc_num_rows($yourResultID) this will return 0 if there is nothing in the result set or the number of rows otherwise look in the php manual for more info http://www.php.net/manual/en/function.odbc-num-rows.php note that it might return -1 (thus not work as intended) with