RE: [PHP] dynamic variable names?
| From: | Matthew Loff | Date: | Wed, 01 Aug 2001 02:50:42 +0000 |
| Subject: | RE: [PHP] dynamic variable names? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-60559@lists.php.net to get a copy of this message | ||
RTFM... Read the Fabulous Manual. :) ha ha...
It's possible, and downright easy.
http://www.php.net/manual/en/language.variables.variable.php
-----Original Message-----
From: Matthew Delmarter [mailto:matt@adplusonline.com]
Sent: Tuesday, July 31, 2001 10:58 PM
To: PHP Mailing List
Subject: [PHP] dynamic variable names?
Is it possible to dynamically assign a variable name?
For example:
variable name is $var_."name"
or $var_."$name"
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net To
contact the list administrators, e-mail: php-list-admin@lists.php.net