Hello , I have two fields in database (ID , CITYNAME ) like below ID | CITYNAME
---------------------- 123 | DELHI
----------------------
124 | MAHARASHTRA
----------------------
125 | PUNJAB
----------------------
I am trying to display records based on id number in a file called viewrecords.php. where i am passing ID parameter (http://www.example.com/viewrecords.php?ID=123) and display the record in viewrecords.php file. It simply displays the records where the corresponding id is matches. Now I have a requirement where i need to display a city field ( for example http://www.example.com/cityname-ID.php that is http://www.example.com/delhi-123.php) in the addressbar instead of viewrecords.php.
any help appreciated.