Hello all. First time poster, here. I already know HTML, CSS and have a basic understanding of PHP but I need some specifics as I'm trying to build a PHP site from scratch and am running into a few roadblocks.
So, I've looked everywhere to see how PHP parses everything beyond the ? in the URL and haven't found any useful documentation. Is there some kind of code I could put on an index.php file to point it to specific SQL records (by ID, perhaps)? How does it work?
I've looked up some documentation that gives details on how to generate URLs by using arrays but what I'm wanting to do is having a shell of a site (basically a static table where every page uses the same outline, and stems off the index.php file), then some kind of code to insert an "article" (preferrably a SQL record) in a cell of a table and can't find any documention on how to do that. I've used PHPwCMS and Joomla who both do that exact thing but scrounged the code and can't figure out what would govern everything beyond the ? in the URL, unless I am just thinking too much and it relies on whatever database you specify and pulls records by ID or whatever other field is in the URL..?
Keep in mind that I'm new to the language and relatively new to programming in all. Thanks for any help. 🙂