Re: [PHP] test for multi-dim array

2007-08-16 Thread Stut
John Pillion wrote: I'm trying to recursively loop through a multi dimensional array with unknown keys and unknown values, and echo the keys/values to a sql statement, where the key is the field, and the value is the. value. What I want to do is test an array index to see if it has any children

[PHP] test for multi-dim array

2007-08-16 Thread John Pillion
I'm trying to recursively loop through a multi dimensional array with unknown keys and unknown values, and echo the keys/values to a sql statement, where the key is the field, and the value is the. value. What I want to do is test an array index to see if it has any children indices (which then