Re: list a query
| From: | Jochem Maas | Date: | Wed, 28 Dec 2005 12:17:46 +0000 |
| Subject: | Re: list a query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227921@lists.php.net to get a copy of this message | ||
Ross wrote:
What does 'list' do in a php query?there is no such thing a php query (unless you count asking a pph related question). list() is a language construct an explanation of it can be found in the manual http://php.net/list please always read/search the manual before asking question.
$result = mysql_query($query) or die('Error, query failed'); list($name, $type, $size, $content) = mysql_fetch_array($result); found it in this example... http://www.php-mysql-tutorial.com/php-mysql-upload.php