PHP - Recommended max array size - alternatives?

butlerant

New Member
I'm writing a google maps page with about 160 records, 1 for each location.The original map data is held in a sql table. As there is quite a lot of text this could be a max of 900 characters per record.I filter this data my month so there may be 20-30 records shown as markers on the map.I want the user to quickly switch between months so I want to keep the data local (not run a sql query).Is reading all this data into php arrays from SQL (say max of 150k) a good idea (ie. sitting in ram) or does not really matter?Is Json any better? (have never tried this before).
 
Back
Top