|
-
Jul 1st, 2008, 10:03 AM
#1
Thread Starter
Lively Member
[RESOLVED] is_multidimensional?
Hello all.
Is there such a function in PHP?
Thanks.
Last edited by solitario; Jul 3rd, 2008 at 11:32 PM.
Reason: resolved
-
Jul 1st, 2008, 09:57 PM
#2
Re: is_multidimensional?
PHP doesn't support multidimensional arrays.
-
Jul 2nd, 2008, 04:38 PM
#3
Re: is_multidimensional?
 Originally Posted by penagate
PHP doesn't support multidimensional arrays.
As far a
-
Jul 2nd, 2008, 08:35 PM
#4
Re: is_multidimensional?
... yes?
-
Jul 3rd, 2008, 12:59 AM
#5
Re: is_multidimensional?
Oops, not sure what happened there. I was saying as far as arrays go you cannot declare a multidimensional array but you can have arrays within arrays which are similar.
To check for this you simply loop through the array elements and test if any are an array using the is_array function.
-
Jul 3rd, 2008, 11:31 PM
#6
Thread Starter
Lively Member
Re: is_multidimensional?
 Originally Posted by visualAd
To check for this you simply loop through the array elements and test if any are an array using the is_array function.
Works. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|