Hey everyone. I was just wondering is it possible to use a variable within a variable like the following or perhaps some similar way?
function table($cat){
$counter = 1;
global $pic_$cat . $content_$cat . $link_$cat . $name_$cat . $id_$cat;
$id_$cat++;
while($counter < $id_$cat)
It seems abit stupid I know but I need to access a variable which could have multiple end names.
Any help would be great.
function table($cat){
$counter = 1;
global $pic_$cat . $content_$cat . $link_$cat . $name_$cat . $id_$cat;
$id_$cat++;
while($counter < $id_$cat)
It seems abit stupid I know but I need to access a variable which could have multiple end names.
Any help would be great.
