I have a site, e.g., http://www.example.com/
I want to add a search box for searching the addresses etc. like " south dakota " and then click on submit button, and records will be fetch from database in php (Configured mySQL with select query) coded file. I want to show my result on http://www.example.com/south-dakota/ this url. So I want to change url with textbox value and related records will display on that page.
For example you can check this site findbankrates.com