pg_fieldisnull analogon in mysql?
| From: | Steff | Date: | Tue, 15 May 2001 00:25:15 +0000 |
| Subject: | pg_fieldisnull analogon in mysql? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9319@lists.php.net to get a copy of this message | ||
Hi folks
Is there a way to check a field out of an existing db result if it is
NULL in mysql? According to the manuals this must be one of the
differences between postgresql and mysql. Does anybody know a
work-around to get it? Notice: I have a normal, existing query result
that doesn't check for NULL values - something like
int mysql_fieldisnull (int result_id, int row, mixed field)
(adapted from the pg function ;-))
Or do I have to resend another query that does NULL checking explicitly?
Thank for advice
Regards Steff