<? $txt1 = "one"; $txt2 = "two"; $txt3 = "three"; for( $i=1; $i<=3; $i++ ) echo ${"txt$i"} . "<br>"; ?>