I have a database filled with company contact information. I would like my site visitors to be able to click on a state on a map of the us which i have coded and ready to go. Lets say they click on Illinois it sends them to illinois.php.
I am looking for a php code to place on illinois.php that checks the my database for all listings for the state of Illinois (IL).
Information you might need to help
Database name: zipcode
Table data is in: station
Table entry : state
I am looking at placing the information in a table of 3 records wide by however many tall.
The contact information would look like this:
Company Name
Street Address
City, State zipcode
Phone Number
If there is anything else that would help I will be watching the forums all day.