Re: array question

From: Date: Mon, 24 Feb 2003 22:28:15 +0000
Subject: Re: array question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-137001@lists.php.net to get a copy of this message
Hi Guys, This might be a bit of a newbie question, but I'm not sure how to search for this particular information as its hard to put in search terms. Say I have a mysql/file with information about variables. Eg, I have a string from a mysql database of 'test' Am I able to then, in PHP, assign whatever that string is to a variable name? Eg, the string 'test' is used to create the variable '$test'... What is in that variable, doesn't matter, just the fact that the script knows the name of the variable (which can change depending on what the strings are).... I'm sure its an easy piece of code, like a string function, but I'm buggered if I can find it! Best Regards Bob Irwin Server Admin & Web Programmer Planet Netcom Scanned by PeNiCillin http://safe-t-net.pnc.com.au/

« previous php.general (#137001) next »