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

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) = each($possiblef

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

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, R

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($possiblefiel

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($possiblefieldsdis

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: > 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(,$poss

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) = e

[PHP] Do two lists in a while statement

2007-04-21 Thread Richard Kurth
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)){ }