dynamically change a variable name
| From: | Gary | Date: | Mon, 19 Mar 2001 01:36:15 +0000 |
| Subject: | dynamically change a variable name | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44469@lists.php.net to get a copy of this message | ||
Is there a way to dynamically change a variable name? For example:
I want to change the variable name $DWG to
$DWG1
$DWG2
$DWG3
with a for loop. Is there a way to do this?
Thanks, Gary