I'm not sure if this is possible, but I have a counter variable which increases by one every time. Now I have a couple of variables above the counter which have a number after them e.g.
$var1=...
$var2=...
$var3=...
now inside the counter I would like the number after the variable to increase with the counter variable...
so like
for ( $counter = 1; $counter <= 3; $counter += 1) {
$var=$var$counter;
}
What I don't want is a string, I just want a number after a variable to change everytime the counter variable goes up by one.