On Wed, December 28, 2005 5:53 am, Ross wrote:
> What does 'list' do in a php query?
'list' is kind of like an array de-constuctor.
x: 1 y: 2 z: 3
> $result = mysql_query($query) or die('Error, query failed');
> list($name, $type, $size, $content) = mysql_fetch_array($result);
$result is an ar
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.
What does 'list' do in a php query?
$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
--
PHP General Mailing List (http://www.php.ne
3 matches
Mail list logo