note 24301 added to function.list

From: Date: Mon, 12 Aug 2002 18:45:30 +0000
Subject: note 24301 added to function.list
Groups: php.notes 
Request: Send a blank email to php-notes+get-34883@lists.php.net to get a copy of this message
An example of list in combination with MySQL: <? $query = "SELECT field1,field2,field3 FROM table"; $exec = mysql_query($query) while(list($field1,$field2,$field3) = mysql_fetch_array($exec)) { // etc.. echo $field1; } ?> I always use this method when im not using asterisks(*) mayb u find it usefull for urself ;) -- http://www.php.net/manual/en/function.list.php http://master.php.net/manage/user-notes.php?action=edit+24301 http://master.php.net/manage/user-notes.php?action=delete+24301 http://master.php.net/manage/user-notes.php?action=reject+24301

« previous php.notes (#34883) next »