note 60790 added to function.list

From: Date: Mon, 16 Jan 2006 20:23:09 +0000
Subject: note 60790 added to function.list
Groups: php.notes 
Request: Send a blank email to php-notes+get-101938@lists.php.net to get a copy of this message
extract is a better option. e.g. $row = mysql_fetch_assoc($result); and this returns $row['firstname']; $row['lastname']; $row['id']; now using extract can be handy here.......... extract($row); and then u can use echo $firstname; echo $lastname; echo $id; i.e. array keys will become variables and keys' values the vlaues of the variables ---- Server IP: 64.246.30.37Probable Submitter: 203.81.221.16 ---- Manual Page -- http://www.php.net/manual/en/function.list.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+60790 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60790&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60790&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60790&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60790&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60790&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60790&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60790&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+60790&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#101938) next »