![]() |
when would i use a "variable variable"
by a variable variable(dynamic Variable) i mean
Code:
<?phpthanks |
check this, should help you to understant:
PHP Code:
|
It's also something of a bit of help when your doing basic skinning for example
PHP Code:
PHP Code:
PHP Code:
|
Almost all of the variable variables ive seen were inside of loops or loops inside of loops, things like that need to be able to generate dynamic variables and still know what they are, although most of the time I just use arrays, they work just as good and its easier to output them just with a print_r
|
| All times are GMT. The time now is 04:46 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0