Thanks!
"Mark Maggelet" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Sun, 18 Mar 2001 20:36:15 -0500, Gary ([EMAIL PROTECTED]) wrote:
>Is there a way to dynamically change a variable name? For example:
>I want to change the variable name $DWG to
>$DWG1
>$DW
On Sun, 18 Mar 2001 20:36:15 -0500, Gary ([EMAIL PROTECTED]) wrote:
>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?
you could try:
for($i=1;$i<=3;$i++){
${"DW
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
3 matches
Mail list logo