cho "$subarray[$j] ";
}
echo "";
}
}
else {
echo $array;
}
}
Johan
-Original Message-
From: Nick Davies [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 9:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP] weird
I have a function which returns a mulit-dimensional array, but the array
which is returned doesn't "work" for some reason :/
If i print the array within the function using
while (list($key) = each($myArray)) {
while (list($key2, $value2) = each($myArray[$key])) {
print $
2 matches
Mail list logo