Hi there
I have seen a few sites that when you perform a search come up with a "searching..." page which then refreshes to the results when they have results. How do you do this in PHP? I have been trying, unsuccessfully, for 2 days now to figure it out as I have a domain search which is taking a long long time to find all the results and this would be an excellent way to do it
Thanks in advance
John
You should use an IFrame with some javascript. When users click on submit a javascript's function recalls, let say, a searching.gif in the IFrame. In the meanwhile the search proceed and, when finished, another page will be load with results.
you can't do it with just php. You will also need to use javascript.
Thanks for the replies. Can anyone point me in the direction of some code that will help with this? I noticed that vBulletin which this board is on uses the same concept when searching, but the code is closed so I can't have a peek. Any help here would be appreciated
Thanks