RE: [PHP] Converting String to Variable

From: Date: Fri, 02 Mar 2001 16:40:58 +0000
Subject: RE: [PHP] Converting String to Variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42457@lists.php.net to get a copy of this message
Here's my question: why do you want to do this, and is there a better way to do this, say a hash list or something? BTW, isn't monday defined as a constant that always equals "blah!" It always has for me. -----Original Message----- From: Randy Johnson [mailto:programmer@jennybug.com] Sent: Saturday, March 03, 2001 9:44 AM To: Ernest E Vogelsinger; Randy Johnson Cc: php-general@lists.php.net Subject: RE: [PHP] Converting String to Variable it may look weird but that is the way it needs to be done. here is a better example $str=myfunct() this returns monday then i want the monday to turn into this $monday so i can do this $monday="BlaH"; thanks randy

« previous php.general (#42457) next »