如何使用page.php?secondpage链接到php文件中的页面

I'm looking to divide up my page into smaller sections for ease of organising my content. Other websites I've seen have used the system of having the main page url then a question mark and the next page name after it (eg. www.website.com/page.php?secondpage)

For what I want to achieve, see an example here (under collecting, current, etc). For my current page, see here.

Thanks for your help!

you can try like this in your html a href="page.php?collections">collections

in your php code, you can write

<?php if($_SERVER["QUERY_STRING"] == 'collections'){ ?>

//second page code goes here

<?php } ?>