let´s supose I have these variables:
$member_1="John";
$member_2="Paul";
$member_3="George";
$member_4="Ringo";
$qtn=4;
and I want to print them using a while loop:
$x=1;
while($x <= $qtn){
$name="$"."member_".$x;
echo $name;
$x++;
}
on this case I would have the following result:
$member_1
$member_2
$member_3
$member_4
instead of
John
Paul
George
Ringo
my question: how to print the value of $member_$x???