I need a simple AJAX script that queries a MySQL DB Server, in which
it does now, then turns around with that value in a array and queries
another table in the database for number of rows,.
To see what I mean, in which it already works when you enter in a zip
code, go to http://www.mayflower1111.com/Nov10 Enter in a zip code
and press tab, it will then display the city and state. What I need
is the script to take those values and send it back via another AJAX
script/db query that returns the number of rows, where if it returns
zero rows, it echo's two radio buttons, and if it returns 1 or more
rows, it echoes only one radio button. |