Re: Variables Limit
| From: | Michael Kimsal | Date: | Sat, 26 Jan 2002 21:22:18 +0000 |
| Subject: | Re: Variables Limit | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82241@lists.php.net to get a copy of this message | ||
Philip J. Newman wrote:
I have to exchage over 304 different names, codes, and dates ...Instead of hundreds of discrete variables, would you not be better served by dividing them up into arrays of some sort? instead of $name1, $name2, etc $name[1] $name[2] or $name["first"] $name["last"] and so on... I'd think memory usage would be about the same, but if there was some limit on the number of discrete simultaneous variable names, this should get around that. Michael Kimsal http://www.tapinternet.com/php/ PHP Training Courses 734-480-9961