hello guys i badly need your help, php noob here,
im creating a bulletin board-like calendar and it shows the different entries each month. the calendar is divided into 4 quarters hence, i have a php file per quarter. each file displays the months for that quarter and their respective entries. example; my firstq.php contains entries for january, february and march.
i dont have a submit button in any of the page, just a drop down linked image of 1Q, 2Q, 3Q, 4Q that redirects to each file.
how could i declare that when i click the 1Q image it would display the file firstq.php but the url is still index.php and so on?
my default index.php shows 3rd quarter since its july now.
You could add a parameter to the url that determines which page you’re on.
And then this in the page where you are ready to include it.
Your links to each quarter would look like this.