I have an array
$sn[1] = "asdfasd"
$sn[2] = "asdfsd".. etc.. etc..
how do i use this array in my functions, ie
function dostuff()
//if i do this works fine.
global $some_var;
//but this doesn't
global $sn[]
//this doesn't work ether
for ($i=1;$<4;$i++)
{
GLOBALS["$sn[$i]"];
}
any ideas?