On Tue, 20 Feb 2001 02:45:12 +0800, Zenith ([EMAIL PROTECTED])
wrote:
>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?

I guess you would call is_array() on one of the elements and if it
returns true you have a 2D array.

- Mark


--
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