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 match, you can do:
while (list(, $possible) = each($possiblefields)){
  list(, $possibleview) = each($possiblefielddiscription);
}

Personally, I would spell it 'description' however. :-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to