| px | top | add code | search | signup | login | help |
| Title | Section | Rating | Views | Last Modified | ||
| Associative array to global variables 1 | algorithms : other | -- | 7567 | 2000-05-27 05:35:35 | [ show ] | |
| Takes an ass. array and defines variables named by arr's field names, opt. suffixes and preffixes. arr["hi"]=="there"; <br> arr2vars($arr, "say_", "_1"); <br> //-> $say_hi_1=="there" <br> | ||||||
Comments or questions?
PX is running PHP 5.2.11
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.