I need some advice on what you folks think might be the best way to do this.
I have created an Invoice system in PHP/MySQL, and when adding/editing the Purchase Order, the user can select a Company from a dropdown list for the "Bill To" section.
The list of companies has grown fairly large (3500+), and thus the pages are quite slow to load (and the dropdown is HUGE).
Any thoughts/ideas on what would be the best way to speed up the page load?
Things I've considered:
Allowing the user to set a "hide" toggle on companies that they no longer want in the list.
Allowing the user to set an on/off toggle to display the dropdown box at all.
[/list=1]I don't believe anything can be done in regards to keeping ALL of the companies in the list and speeding it up. I've optimized the DB, and the code is clean and quick. However, when it creates a dynamic dropdown with that many entries, there isn't much that can be done.
So, can anyone see another way around it?
Thanks much,
TH