I have a web page with a map image. Users click on different areas of the map for a list of distributors in that area. A php script delivers the results. All easy enough.
However, we now have different distributors for different product ranges.
The page has a normal form that allows the user to select the product type and enter their zip code or manually select the region.
well, what your talking is Ajax. If you are like me though and are lazy and dont want to go through tweaking all your code do it like this.
1) add an iframe at the bottom of the page.
2)when someone clicks on the map or whatever, fire an event to change the url of the iframe and reload...here is code: <a href="#" onClick="document.getElementById('myframe').href='http://mydomain.com/myphppage.php?id=1'">click me</a>
5) Your done!