I have simple question but i can´t get solution for this
I have function and inside one array , in this array i have all values and if i don´t use the function works , i think about use global vars for extract but i can´t get fix this problem
function get_it($exp_value)
{
foreach($exp_value as $exp_values) {
/// Array Values ///
${$exp_table[$j]}[]="".base64_decode($exp_values)."";
///
/// this no works ///
global ${$exp_table[$j]};
///
$j++;
}
}
The idea it´s use the function for example :
get_it($exp_value);
And get all values with simple arras as for example :
$data[0];$data[1];$data[2];
The problem it´s in the function the code no let me get out the values , i try use ´- as i put inside function - the var "global" , but no get finally results , if don´t use this code inside function works
The Best regards