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

2003-07-22 Thread Jeff Harris
On Jul 22, 2003, "Tony Crockford" claimed that: |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 word variable? to make |

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

2003-07-22 Thread Mark
try echo ${variable$increment} --- Tony Crockford <[EMAIL PROTECTED]> 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 num

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

2003-07-22 Thread Tony Crockford
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 word variable? to make a new variable that matches thename of the existing ones