zoidbooks Posted November 30, 2007 Share Posted November 30, 2007 i cant figure this one out... this code declares a 1d array global. however i need a multid array to be global.... global $list_U001; since i need a maximum of only 99 arrays...i could decklare those like that and construct the variable from counter ...but i dont know how to construct a "dynamic variable".... global $list_U001; global $list_U002; global $list_U003; etc... for(i++) $list_U00.'$i'.[] <--??? .... Link to comment https://forums.phpfreaks.com/topic/79604-how-to-declare-a-global-multi-dimensional-array/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.