Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
We moved a website from a server onto a laptop. Its got a dealer locator script running on it so when you select a location it displays a list of dealers for that area in a new window. The problem is if you select one location then another on the laptop it displays the old informatino then the new information below it. Which is weird because it reloads the cgi script and doesn't save the previous queried data anywhere.
It works fine on the server side. Its random as to when it will append the information.
Now, if you set the array that is storing the queried information to null at the begining of the script it doesn't have the problem except the first dealer information it displays is blank.
It looks like the array isn't getting cleared each time the script is run but I've never seen that before?