note 11928 added to function.extract.php
| From: | php-general at lists dot php dot net | Date: | Tue, 13 Mar 2001 19:46:50 +0000 |
| Subject: | note 11928 added to function.extract.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12346@lists.php.net to get a copy of this message | ||
an even better way than above is:
$result = mysql_db_query("name", "SELECT * FROM table where x='$x'");
extract(mysql_fetch_array($result));
Just a little cleaner, cheers. =>
Derek Meiresonne
www.etecc.com
http://www.php.net/manual/en/function.extract.php