while/each issue on PHP/4.0RC2-dev
| From: | Dan Larsson | Date: | Wed, 12 Apr 2000 07:56:11 +0000 |
| Subject: | while/each issue on PHP/4.0RC2-dev | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13436@lists.php.net to get a copy of this message | ||
What am I missing here?
Errormessage:
-------------
Warning: Cannot use a scalar value as an array in functions.inc on line 156
functions.inc starting on line 156
----------------------------------
while (list($key, $value) = each($server))
{
if (empty($val['hostname']))
unset($server[$key]);
}
Regards
------------
Dan Larsson