hello~
I want to convert sting to varible.
there is string "aaa".
"aaa" --> $aaa
I try following..
$aaa="hello~";
$boo="$"."aaa";
echo "$boo";
--> result is "$aaa";
it's not what i want ..
wishing result is "hello~"..
please help me..
It's much easier:
$aaa = "hello~"; $boo = "aaa"; echo $$boo;
See:
http://php.net/manual/en/language.variables.variable.php
Daniel