note 42064 rejected from language.variables by betz

From: Date: Sat, 01 May 2004 16:45:48 +0000
Subject: note 42064 rejected from language.variables by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-69077@lists.php.net to get a copy of this message
Note Submitter: bryan8m@hotmail.com ---- How can I set the name of one variable as the value of another? $A=2; $B{$A}=3; echo $B2; That's my guess on how to do it but it isn't working. What is the correct way to incorporate the value of one variable into the name of another variable?

« previous php.notes (#69077) next »