Re: Do two lists in a while statement
| From: | Tijnema ! | Date: | Sat, 21 Apr 2007 19:02:09 +0000 |
| Subject: | Re: Do two lists in a while statement | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253439@lists.php.net to get a copy of this message | ||
On 4/21/07, Richard Kurth <richardkurth@centurytel.net> 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) = each($possiblefields) && list(,$possibleview) = each($possiblefieldsdiscription)){ } Tijnema