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
--
PHP
Hi gang
I'm suffering under the lack of an SQL, which would've made this loads
easier, so instead I'm forced at using a bunch of arrays to keep track of
the info instead...
But here's the prob: I'm working on a list of premieredates for movies.
Here's the HTML version I made to figure out how to
$date = 2002-11-22;
$myvar = a . str_replace(-,,$date);
$$myvar = hi;
echo $a20021122;
Enjoy.
On Mon, 2002-11-18 at 13:05, -[ Rene Brehmer ]- wrote:
Hi gang
I'm suffering under the lack of an SQL, which would've made this loads
easier, so instead I'm forced at using a bunch of arrays to
Convert $day=2002-11-22 to just $day=d20021122 and $$day will be
really $d20021122
-[ Rene Brehmer ]- wrote:
Hi gang
I'm suffering under the lack of an SQL, which would've made this loads
easier, so instead I'm forced at using a bunch of arrays to keep track of
the info instead...
But here's
4 matches
Mail list logo