hi all, I am making a php template, I heard about dynamic web pages, I want it so that i can have a main file (index.php) then files just with content so i can include them into my index.php, But i want the includes to change when someone...
hi all,
I am making a php template, I heard about dynamic web pages, I want it so that i can have a main file (index.php) then files just with content so i can include them into my index.php, But i want the includes to change when someone presses a button, so say if I was on the homepage, the content on that page would be for example home-content.php then if someone pressed "About" button on the navigation bar, I want the content to change to say about-content.php, How would i do this?
Thanks