I have the following counter
for ($count=1; $count<=32; ++$count) {
$text = ${'text_e_gallery'.$count};
}
I have a flat file that I require that has the follwing scalar values
$text_e_gallery1='text blah blahh';
I can print out the values one at a time but when I try to print for each scalar value. it only prints $text_e_gallery32 over and over again (32 times).
for ($count=1; $count<=32; ++$count) {
$text = ${'text_e_gallery'.$count};
}
I have a flat file that I require that has the follwing scalar values
$text_e_gallery1='text blah blahh';
I can print out the values one at a time but when I try to print for each scalar value. it only prints $text_e_gallery32 over and over again (32 times).