inside the root folder of my 🕸 project I have an index.php file that is the sites homepage. The root folder has three folders namely css, pages, and includes. The pages folder contains home.php , contact.php and about.php file.
Inside the root folder in the index.php file I have a navigation menu with anchor tags to home.php, contact.php and about.php.
I want to show the content from these three files I mean home.php , contact.php and about.php dynamically on navigation inside the body of index.php file only and change the url respectively.
Can someone help me with this? Thank you in advance.
source https://stackoverflow.com/questions/68967236/change-webpage-content-on-index-file-on-url-change
Comments
Post a Comment