What is trying to do is call existing data inside loop, saving them as new varable $m then print $m value.
$a_1 = "A";
$a_2 = "B";
$a_3 = "C";
for ($x = 1; $x <= 3; $x++) {
$m= $a_.$x;
echo $m;
}
expected print was "ABC";
But $a_.$x not registering as variable inside loop, eighter storing value "A" for loop $a_1 which i expected.
How to do that ?