Re: How to make a variable named after the value of another variable?
Posted by <talthen.z-serwera.o2 on 08/24/05 12:02
"Norman Peelman" <npeelman@cfl.rr.com>
This is how I solved thr problem:
$var="thename"
$_REQUEST[$var]="the value";
It creates the variable $_REQUEST['thename']="the value". I just wondered
how to do it with $$ method. However it seems that global variables cannot
be variable variables in another way, that $_REQUEST[$var]="the value";