I am currently building a PHP/SQL site for my brother, it isn't on line yet, but I have a little query how to set a default value in PHP so that the Home page shows when loaded.
An example of what I mean is enter the web address, e.g. www.anyaddress.com, by default it goes to the index.php to display. The framework of the site displays, with menus created using php, but the content section is blank.
Now in my database, the page ID uses PID as it's code. The home page has a pid of the value 1. Therefore after the address www.anyaddress.com/index.php is loaded as before and I click on the 'home' selection, the address changes to
www.anyaddress.com/index.php?pid=1
How do I get this page to load into the browser when someone visiting the site for the first time enters www.anyaddress.com ?