note 9899 deleted from function.mysql-fetch-array by betz

From: Date: Wed, 05 Oct 2005 11:30:58 +0000
Subject: note 9899 deleted from function.mysql-fetch-array by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-96423@lists.php.net to get a copy of this message
Note Submitter: arlo at typea dot net ---- The behavior Sasha describes becomes problematic if your mysql_fetch_array() is followed by extract() in a loop that writes out results from a query. If a field value is null, then extract() won't recreate the corresponding variable, and the variable will remain set to the value from the previous row. This gave some unexpected results until I figured out what was going on. I'll post a workaround here if I can figure out a good one. Arlo Leach www.typea.net

« previous php.notes (#96423) next »