Re: How to use string as variable name?

From: Date: Thu, 21 Nov 2002 20:09:43 +0000
Subject: Re: How to use string as variable name?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-125479@lists.php.net to get a copy of this message
Hi Adam Voigt, On 18 Nov 2002 13:11:30 -0500, you wrote about "Re: [PHP] How to use string as variable name?" something that looked like this: >$date = "2002-11-22"; >$myvar = "a" . str_replace("-","",$date); >$$myvar = "hi"; > >echo "$a20021122"; GREAT ... works right off ..thx a billion ... Rene

« previous php.general (#125479) next »