Re: [PHP] Do two lists in a while statement

2007-04-21 Thread Tijnema !
On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: How can I do something like this in the same while statement. This does not work while (list(,$possible) = each($possiblefields) list(,$possibleview) = each($possiblefieldsdiscription)){ } What about using ? while (list(,$possible) =

RE: [PHP] Do two lists in a while statement

2007-04-21 Thread Richard Kurth
On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: How can I do something like this in the same while statement. This does not work while (list(,$possible) = each($possiblefields) list(,$possibleview) = each($possiblefieldsdiscription)){ } What about using ? while (list(,$possible) =

Re: [PHP] Do two lists in a while statement

2007-04-21 Thread Tijnema !
On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: How can I do something like this in the same while statement. This does not work while (list(,$possible) = each($possiblefields) list(,$possibleview) = each($possiblefieldsdiscription)){ }

RE: [PHP] Do two lists in a while statement

2007-04-21 Thread Richard Kurth
On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: How can I do something like this in the same while statement. This does not work while (list(,$possible) = each($possiblefields) list(,$possibleview) = each($possiblefieldsdiscription)){

Re: [PHP] Do two lists in a while statement

2007-04-21 Thread Tijnema !
On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: How can I do something like this in the same while statement. This does not work while (list(,$possible) = each($possiblefields)

RE: [PHP] Do two lists in a while statement

2007-04-21 Thread Richard Kurth
-Original Message- From: Tijnema ! [mailto:[EMAIL PROTECTED] Sent: Saturday, April 21, 2007 1:13 PM To: Richard Kurth Cc: php-general@lists.php.net Subject: Re: [PHP] Do two lists in a while statement On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: On 4/21/07, Richard Kurth

Re: [PHP] Do two lists in a while statement

2007-04-21 Thread Tijnema !
On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: -Original Message- From: Tijnema ! [mailto:[EMAIL PROTECTED] Sent: Saturday, April 21, 2007 1:13 PM To: Richard Kurth Cc: php-general@lists.php.net Subject: Re: [PHP] Do two lists in a while statement On 4/21/07, Richard Kurth [EMAIL

Re: [PHP] Do two lists in a while statement

2007-04-21 Thread Jim Lucas
Richard Kurth wrote: On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: On 4/21/07, Richard Kurth [EMAIL PROTECTED] wrote: How can I do something like this in the same while statement. This does not work while (list(,$possible) = each($possiblefields) list(,$possibleview) =

Re: [PHP] Do two lists in a while statement

2007-04-21 Thread Richard Lynch
On Sat, April 21, 2007 1:23 pm, Richard Kurth wrote: How can I do something like this in the same while statement. This does not work while (list(,$possible) = each($possiblefields) list(,$possibleview) = each($possiblefieldsdiscription)){ } If you know for sure that there is a 1-to-1