Re: [PHP] list(), each()

2002-03-25 Thread Rasmus Lerdorf
Why do you put each(explode()) ? Just list() = explode() is what you want. -Rasmus On Mon, 25 Mar 2002, Chris Boget wrote: Ok, I've got to be doing something wrong here. I've been beating my head up against the wall for some time and I just cannot figure out what it is. Before I say it's

Re: [PHP] list(), each()

2002-03-25 Thread Chris Boget
Why do you put each(explode()) ? Just list() = explode() is what you want. I did that because I thought they were complimentary functions? Just about every example I've seen of list() uses each(). Just using explode() makes it work. Obviously I'm going to have to go back and read more

RE: [PHP] list(), each()

2002-03-25 Thread Rick Emery
change to: list( $policy_num, $policy_year, $application_reference ) = explode( --, $policy ); -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 11:22 AM To: PHP General Subject: [PHP] list(), each() Ok, I've got to be doing something wrong

Re: [PHP] list() = each() Question

2001-02-07 Thread Jason Mowat
Hehehe, I searched around on PHP.net, and found this tidbit of information. It sounds to me that list() is written to only accept the first two elements from the each(). Please correct me if I am misinformed :-) Cheers, Jason [EMAIL PROTECTED] 16-Feb-2000 03:41 Ok, for you folks who are