PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Is there a way to combine two variable names? I would like to have $sql1,$sql2 .... assign to different string by using single FOR statement. please see the following code. I know "$sql.$i" is wrong, then how do i put $i into the variable $sql? another way? sorry for the dumb question.....
As onion2k pointed out, variable variables is the solution you have requested, however he also brought up the question of using arrays. I would like to echo this as well.