Split Weirdness.

From: Date: Mon, 30 Apr 2001 09:19:28 +0000
Subject: Split Weirdness.
Groups: php.general 
Request: Send a blank email to php-general+get-50832@lists.php.net to get a copy of this message
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.

« previous php.general (#50832) next »