RE: [PHP] inserting a variable into a variable
| From: | Maxim Maletsky | Date: | Wed, 20 Jun 2001 07:51:10 +0000 |
| Subject: | RE: [PHP] inserting a variable into a variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54469@lists.php.net to get a copy of this message | ||
try:
${"rm_$cat_adt"}
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: Hasan Niyaz [mailto:hasan@impex.com.mv]
Sent: Wednesday, June 20, 2001 11:07 AM
To: php-general@lists.php.net
Subject: [PHP] inserting a variable into a variable
Hello all,
I have come to a situation where i am having a variable inside another
variable.
for example.
$rm_$cat_adt
The above is a variable and $cat is again another variable
This does not work..
Need some help!
Thanks,
Hasan