RE: [PHP] dynamic variable headache

2002-11-08 Thread John W. Holmes
> My newbie brain is maxed out on this, and I'm sure one of you more > experience guys can quickly straighten me out. > > I've got a variable: > > $_mmdd = a_date_value; > > Later, I've got four variables; > > $foo= _; > $bar=; > $bleh=mm; > $doh=dd; > > I want to stick these variable

Re: [PHP] dynamic variable headache

2002-11-08 Thread Maxim Maletsky
Robert, try reading about arrays instead. Variable variables are not a good idea to use because your code would soon become such a mess that one year later you will hate yourself seeing the code sputting frequently onto the monitor and making crosses of your fingers as to the Satan's appearance.

[PHP] dynamic variable headache

2002-11-08 Thread ROBERT MCPEAK
My newbie brain is maxed out on this, and I'm sure one of you more experience guys can quickly straighten me out. I've got a variable: $_mmdd = a_date_value; Later, I've got four variables; $foo= _; $bar=; $bleh=mm; $doh=dd; I want to stick these variables together on the fly to get