[PHP] Re: changing the name of a variable by another variable.

2003-07-23 Thread Joshua Groboski
Why don't you use an array? $variable[$i++]; -- Joshua Groboski Programmer Analyst SAVVIS Communications Inc. http://www.savvis.net "Tony Crockford" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I really am having a difficult day. > > I want to do an incrementing while loop that

[PHP] Re: changing the name of a variable by another variable.

2003-07-22 Thread Shena Delian O'Brien
What I do is: $var = "variable".$increment; echo $$var; Tony Crockford wrote: I really am having a difficult day. I want to do an incrementing while loop that will echo out the values of $variable1 , $variable2, $variable3 which exist previously. so how do I get the incrementing number onto the w