Re: [PHP] Variables within variable names

2002-05-02 Thread Jason Wong
On Friday 03 May 2002 02:43, Jackson Miller wrote: > I want to do something along the lines of: > > $type = "basic"; > $$type_user = "jaxn"; > echo $basic_user; > > and have the output be "jaxn". > > I have tried everything I can think of, and I have looked in all my > books. > > I know how to: >

[PHP] Variables within variable names

2002-05-02 Thread Jackson Miller
I want to do something along the lines of: $type = "basic"; $$type_user = "jaxn"; echo $basic_user; and have the output be "jaxn". I have tried everything I can think of, and I have looked in all my books. I know how to: $type = "basic"; $$type = "jaxn"; echo $basic; but this won't do what I