Shorter way for "each"
| From: | Moritz Petersen | Date: | Wed, 10 Jan 2001 15:16:28 +0000 |
| Subject: | Shorter way for "each" | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-33668@lists.php.net to get a copy of this message | ||
Hi,
is there a shorter way to do:
while (list($key, $value) = each($my_array))
{
echo $value...
}
I just need the value!
Thanks,
Mo.