Array and object performance
View Single Post
05-20-2009, 10:38 AM
Join Date: Nov 2007
Location: Mumbai, India
I advice using global variables.
I know many will have raised eyebrows - but that is the best thing to do.
With Global variables you will have a tradeoff with memory - but since your list is small - I think it should be fine.
You should create an associative array for Global Variables so that you can load its value through the key. This will also ensure that you don't get mixed up with index numbers.
- Follow me on Twitter
View Public Profile
Send a private message to sunilbhatia79
Visit sunilbhatia79's homepage!
Find More Posts by sunilbhatia79