sowna Posted April 21, 2012 Share Posted April 21, 2012 Hi, how to identify whether the array is single or two dimensional array? Link to comment https://forums.phpfreaks.com/topic/261371-what-to-identify-array-dimension/ Share on other sites More sharing options...
creata.physics Posted April 21, 2012 Share Posted April 21, 2012 loop through your array and use is_array on the value to see if it is also an array. Link to comment https://forums.phpfreaks.com/topic/261371-what-to-identify-array-dimension/#findComment-1339324 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.