Re: [PHP] list a query

2005-12-30 Thread Richard Lynch
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

Re: [PHP] list a query

2005-12-28 Thread Jochem Maas
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.