Re: strings and vars

From: Date: Sun, 24 Nov 2002 01:12:06 +0000
Subject: Re: strings and vars
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-125756@lists.php.net to get a copy of this message
Hi; i have a string and I want to set it as a variable name. like tahat i have string like: "string"; how can i get variable $string;
I suppose you are trying to do the following: $variable = "some value"; So if you wish to assign "string" as $string, simply do the following: $string = "string"; -- Kyle Gibson admin(at)frozenonline.com http://www.frozenonline.com/

« previous php.general (#125756) next »