- JavaScript - Scripting or programming language that allows you to implement complex features on web pages.
- Jquery - lightweight, "write less, do more", JavaScript library.
- PHP - Hypertext Preprocessor ,server side scripting language. `
- The index page is the search page.
- Connect to MySQL with PHP.
- Open options with JQuery UI.
- Send request with Ajax.
- When enter the page if the cities updated truncate the db and updated it.
-
Activate
XAMPP
if you dont haveXAMPP
download from here. -
Create Database name cities and table cities with id=autoincrement, name=varchar255 ,zip_code=int11 .
-
Drag the downloaded file into
C:\xampp\htdocs
. -
Get into the browser to http://localhost.
-
Press on cities folder.
-
Enjoy!!!