[PHP] Re: Question on the list() function

2001-09-10 Thread D
Hmm.. I dont think I agree with you on that. First the code works perfect, second its just using two list() rather then one, otherwise its exactly the same thing as you say would work, which is what makes me think its a two dimensional array. Ken _lallous wrote in message <[EMAIL PROTECTED]>...

[PHP] Re: Question on the list() function

2001-09-10 Thread _lallous
I don't think this is correct! You can't do this: list($a, $b) = variable! which is the case in: list($key, list($tag, $data)) = each($array) you can use: list($key, $value) = each($array) "D" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am a newbie an