note 34221 deleted from function.mysql-fetch-row by didou

From: Date: Thu, 05 Feb 2004 14:56:55 +0000
Subject: note 34221 deleted from function.mysql-fetch-row by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64689@lists.php.net to get a copy of this message
Note Submitter: Thomas is at xenocast.com ---- I like to use this function like this: $sql = "select firstname, lastname from members"; $getmembers = mysql_query($sql); while (list($firstname, $lastname) = mysql_fetch_row($getmembers)) { echo "$firstname $lastname<br>\n"; } this way I can pull out the fields in variables and it's easier to code cuz I'm lazy!

« previous php.notes (#64689) next »