i am trying to set up a repeat loop using:
if ($set < $count) {
$test$set = "$dname";
echo "$test$set";
$set = $set + 1 ;
}
but i cant seem to get
$test_$set = "$dname";
to work. If i take out the $set and put in a number it will work and if i echo the $set if brings back 1,2,3. but i am unable to combine then together.
Does any one have any suggestions on how they know to fix this problem?
thanks Alot