RE: [PHP] inserting a variable into a variable
| From: | Ray Hilton | Date: | Wed, 20 Jun 2001 07:45:24 +0000 |
| Subject: | RE: [PHP] inserting a variable into a variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54468@lists.php.net to get a copy of this message | ||
What on earth are you trying to do? :)
I'm not sure what your getting at, do you mean defining a variable based
on another variables name? Perhaps try using an array, and specifying
$rm($cat)
Sorry, im not too sure what you mean
Ray Hilton
-
me@rayh.co.uk
http://rayh.co.uk
-----Original Message-----
From: Hasan Niyaz [mailto:hasan@impex.com.mv]
Sent: 20 June 2001 04:07
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