Jump to content

how to declare a global multi dimensional array?


zoidbooks

Recommended Posts

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'.[]    <--???

 

....

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.