RE: [PHP] Getting my head around nulls.

From: Date: Tue, 25 Sep 2001 13:09:43 +0000
Subject: RE: [PHP] Getting my head around nulls.
Groups: php.general 
Request: Send a blank email to php-general+get-68696@lists.php.net to get a copy of this message
>I wish the rest of the world saw it that way! But not so... That's what capitalism does for you -;) >You may want to look at MySQL's IS_NULL function for retrieving data. Other >than that, I don't have any good advice. It seems that if you retrieve a >NULL from the database and try to assign it to a PHP variable, that variable >gets destroyed. AFAIK, yes, you need a bunch of data checks, both putting >data in and pulling it back out. Strange, I did a search on is_null in the MySQL manual (ver 3.23.40 .pdf) and got no nits on is_null. Could you provide example of its use. Neb

« previous php.general (#68696) next »