Nick Davies wrote:
> 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[
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 ke
2 matches
Mail list logo