View Single Post
Old 05-20-2009, 10:38 AM   #4 (permalink)
sunilbhatia79
The Wanderer
 
Join Date: Nov 2007
Location: Mumbai, India
Posts: 24
Thanks: 0
sunilbhatia79 is on a distinguished road
Default

Hi,

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.

Regards,
Suniil
__________________
Sunil Bhatia www.twitter.com/sunilbhatia79 - Follow me on Twitter
PHP5 Tutorials
Career Articles
sunilbhatia79 is offline  
Reply With Quote