note 13266 deleted from function.mysql-fetch-assoc by philip

From: Date: Sun, 07 Oct 2001 07:11:23 +0000
Subject: note 13266 deleted from function.mysql-fetch-assoc by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-18654@lists.php.net to get a copy of this message
The example converting the array to individual variables is nice, but does not take in to account NULL values being returned, the middle while statement should be changed to the following to account for this: while (Key($array) != NULL) { ${Key($array)} = Current($array); Next($array); }

« previous php.notes (#18654) next »