Re: Converting String to Variable

From: Date: Sat, 03 Mar 2001 16:35:05 +0000
Subject: Re: Converting String to Variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42455@lists.php.net to get a copy of this message
At 17:09 03.03.2001, Randy Johnson said: --------------------[snip]-------------------- >Is there anyway to convert a string to a variable > >example > >$str="monday"; > >I would like to then do this: > >$monday="blah"; --------------------[snip]-------------------- RTFM ;-> $$str = "blah"; print $monday; ...ebird >O Ernest E. Vogelsinger (\) http://www.1-at-web.at/ ^ ICQ# 13394035

« previous php.general (#42455) next »