Im learning PHP and im really confused on how people make a whole website to load most of the content into index.php. Can someone find me a really good tutorial or ebook explaining on how to do this im having no luck finding anything.
For clarification what i mean is some websites when you go to a page, will have www. somesite .com/index.php ?page=register and they would have PHP to look inot the URL for the key PAGE and get its value which is REGISTER then that would display the register page. Im really confused on how to do this and im worried that im doing this wrong, please help!
For clarification what i mean is some websites when you go to a page, will have www. somesite .com/index.php ?page=register and they would have PHP to look inot the URL for the key PAGE and get its value which is REGISTER then that would display the register page. Im really confused on how to do this and im worried that im doing this wrong, please help!