Re: Using a variable to call another variable [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin, Tedd, Robert, Christopher,

Thank you all for your advice and examples.

I had not been aware that it was possible to simply add another "$" ahead of the variable, to make a variable of the variable's name.

And especially thank you for expressing an example in terms of a class and method, which is my ultimate intent with this process.

I will also make sure to name my variables with at least one leading alphabet character. Thanks for the warning.

All your time and expert advice is much appreciated.

--
Dave M G
Ubuntu 6.06 LTS
Kernel 2.6.17.7
Pentium D Dual Core Processor
PHP 5, MySQL 5, Apache 2

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux