php-general | 2001072

RE: [PHP] dynamic variable names? From: Matthew Loff (matt <email protected>)
Date: 07/31/01

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 <email protected>]
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 <email protected>
For additional commands, e-mail: php-general-help <email protected> To
contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>