Below $month takes vals jan,feb,mar,etc
and my array vars are jan_click, feb_click and each of these is an array
and I am trying to generate these at runtime
[code=php]
$mVal = substr($month,0 ,3);
for($i=0;$i<cou nt($dbs);$i++)
{
#$str = "$".$mVal."_cli ck[".$i."]";
$str = $mVal."_click[$i]";
printf("<br> AAA :: %s :: %s ", $str, ${"$str"});
}
[/code]
is not working can someone help me out with this plz
and my array vars are jan_click, feb_click and each of these is an array
and I am trying to generate these at runtime
[code=php]
$mVal = substr($month,0 ,3);
for($i=0;$i<cou nt($dbs);$i++)
{
#$str = "$".$mVal."_cli ck[".$i."]";
$str = $mVal."_click[$i]";
printf("<br> AAA :: %s :: %s ", $str, ${"$str"});
}
[/code]
is not working can someone help me out with this plz
Comment