[PHP] weird array behaviour

2001-08-15 Thread Nick Davies
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

RE: [PHP] weird array behaviour

2001-08-15 Thread Alfredeen, Johan
; } } 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 array behaviour I have a function which returns a mulit-dimensional array