Hi,
does anyone know how i can make something like this work.
$Garbage1 = "foobar";
$blah = "Garbage" . $count;
print ($$blah);
This returns 'whackness' which makes perfect sense, but if i try to use this
method with an array it never treats the $$blah as a variable, instead it just
outputs the combined string.
$tester = "TypeQ" . $count . "[" . $count2 . "]";
print ($$tester);
This outputs ' $TypeQ1[1] ' which makes sense but i have an array named
' $TypeQ1[1] ' with a value in it and i don't know why it doesn't
take the value from the array as it does in the previous example. $count and
$count2 are just integers in a loop that keep increasing..
any input will be appreciated.
Thanks!