Re: Variable variable names...

From: Date: Fri, 22 Jun 2001 20:12:20 +0000
Subject: Re: Variable variable names...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54930@lists.php.net to get a copy of this message
turns out my subject was right on.... anyone interested check this page out..... http://www.phpbuilder.com/manual/language.variables.variable.php ""Brian Weisenthal"" <bsw10@cornell.edu> wrote in message news:9h02nm$n7c$1@w153.z064000151.sjc-ca.dsl.cnc.net... > let say i wanted to see if a variable existed by the name of $myvar2 . how > can i make the '2' come from a variable. so i want to say something like > $myvar$othervar .(but obviously that wont work) anyone have a clue? i tried > using eval but i couldn't get it right.... > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#54930) next »