$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.php on line 675


is there a simple explination...?


*********************************************************************
The information contained in this e-mail message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message.
***********************************************************************

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to