Hello K.Bogac,
Tuesday, April 6, 2004, 6:34:50 PM, you wrote:
KBB> $i = 2;
KBB> $var = "view_request_$i";
KBB> $value = $$var;
That's it, I knew there was a variable variable ($$) in there
somewhere :)
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP Genera
$i = 2;
$var = "view_request_$i";
$value = $$var;
Tristan Pretty wrote:
Simply put, can I connect 2 variables, to make one...
I want to output:
$view_request_$i
making for example a string:
view_all_2
But I'm getting errors..?
Parse error: parse error in /home/risk/public_html/download/results3.
2 matches
Mail list logo