php-db | 2001041
Date: 04/13/01
- Next message: Francois Legare: "RE: [PHP-DB] odbc_fetch_row"
- Previous message: Jeffrey A Schoolcraft: "Re: [PHP-DB] diferent user passwords"
- Next in thread: Francois Legare: "RE: [PHP-DB] odbc_fetch_row"
- Reply: Francois Legare: "RE: [PHP-DB] odbc_fetch_row"
- Reply: joerg andreas: "Re: [PHP-DB] odbc_fetch_row"
- Reply: Andrew Hill: "Re: [PHP-DB] odbc_fetch_row"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
When I run a query, even if it is empty I still get a valid identifier for the result.
How do I determine that there is nothing in the result, even though the result is valid (just empty)?
I thought about odbc_fetch_row, but that moves the pointer forward and I don't want that; there may be valid info.
I tried odbc_result'ing a COLUMN and it returns NULL not error, so I can't test against that.
One thought is to see if all columns in my query are NULL and then "No rows were found". Is there a simpler way?
How does odbc_result_all determine there is nothing present?
Thanks
RDB
- Next message: Francois Legare: "RE: [PHP-DB] odbc_fetch_row"
- Previous message: Jeffrey A Schoolcraft: "Re: [PHP-DB] diferent user passwords"
- Next in thread: Francois Legare: "RE: [PHP-DB] odbc_fetch_row"
- Reply: Francois Legare: "RE: [PHP-DB] odbc_fetch_row"
- Reply: joerg andreas: "Re: [PHP-DB] odbc_fetch_row"
- Reply: Andrew Hill: "Re: [PHP-DB] odbc_fetch_row"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

