Why does this work :
$categorySplit = split(",", $row['category']);
while (list($key, $value) = each ( $categorySplit )) {
$categoryArray["$value"] = 1;
}
But this not :
while (list($key, $value) = each ( split(",", $row['category']) )) {
$categoryArray["$value"] = 1;
}
I keep getting "Maximum execution time of 30 seconds exceeded" errors.
Thanks in advance.
Nick.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]