note 8932 added to extract

From: Date: Fri, 06 Oct 2000 15:39:57 +0000
Subject: note 8932 added to extract
Groups: php.notes 
Request: Send a blank email to php-notes+get-6180@lists.php.net to get a copy of this message
If you want to extract the variables from a mysql call: while ($row = mysql_fetch_array($result)) { extract($row); } Better than while ($row = mysql_fetch_array ($result)) { $variable = $row["variable"]; ... } Cheers, Lawrence. http://www.php.net/manual/function.extract.php

« previous php.notes (#6180) next »