10-08-2010, 09:53 PM
|
#2 (permalink)
|
|
Wizard
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
|
Quote:
Originally Posted by CΛSTΞX
hey I've little question;
PHP Code:
$get = $_REQUEST['NUMBER']; $num."".$get = "blbla";
echo $num3;
// should echo blbla
I have to echo the changable value name. But its not correct. How do you think I can get it in correct way ?
|
What you are doing is impossible. You can not name variables like they are strings. Your closest match would be to use an array.
PHP Code:
$get = $_REQUEST['NUMBER']; $num[$get] = "blbla";
echo $num[$get];
|
|
|
|