using list and each with index of 0
| From: | Jade Ohlhauser | Date: | Fri, 22 Dec 2000 22:38:55 +0000 |
| Subject: | using list and each with index of 0 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31627@lists.php.net to get a copy of this message | ||
list and each are a common way to traverse an array ex:
while(list($key, $data) = each($array) {
but that won't work if I have an $array index of 0
Is there any way to do that with an index of 0 without using a next($array)
for loop?
............. Jade Ohlhauser
[website architect]........... http://bandwidthplace.com