Addressed to: "Zenith" <[EMAIL PROTECTED]>
              [EMAIL PROTECTED]

** Reply to note from "Zenith" <[EMAIL PROTECTED]> Tue, 20 Feb 2001 02:45:12 +0800
>
> In a self defined function, a one dimension or two dimension array may be
> passed,
> How can I check that, the passed in array is a one dimension array or a two
> dimension array?


If an element of $array[x] returns 'ARRAY' it is multi dimensional.  You
may have to check my capitolization.  Try looking at $array, a known
array and see what it returns in an echo.




Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to