I have a selection of 10 strings:
$post0[0]
$post1[0]
$post2[0]
$post3[0]
$post4[0]
$post5[0]
ect
$loopnum = 0 and has 1 added to it each time it goes round the loop.
In the loop I need to specify the string name $post*[0] replacing the star with the value of $loopnum.
$post$loopnum[0] does not work becasue it thinks I meen part 0 of $loopnum rather than $post.
Hopefully that makes sence. How would I do this?