Lets say I have 4 variables
$var1
$var2
$var3
$var4
and I want to do the exact same thing to all of them (put them in a database) but I need to do it in a loop. In hte loop I need to call $varx where x is 1,2,3,4. the x goes up each itteration. so the first time through $varx would be $var1 , and the second time var2
Its kind of hard to explain the effect Im going for.. I hope you can figure it out from that![]()





Bookmarks