OK so I am really new to PHP (really really new lol)
I'm making a new plant hobby site, I am not really interested in using scripts like WordPress or the other various blogging sites/scripts.
I would like to have all my content in html files (or php files it doesnt really matter) so each page of the site would have its own html file. I would then like to have one file that would be the master page, the page that has all the design content in it, then I could just call up each page simply like www.example.com/plants.php?name=fern or www.example.com/plants.php?name=pine. So when any of those URL's are used it will load the content from the corresponding html file e.g. fern.html or plants.htlm etc.
So I've been reading about using PHP includes which I understand how to use, but what I am wanting to do is use a PHP code similar to the <?php echo $_GET["name"]; ?> to grab the "name=" part of the URL that way plants.php looks for the fern.html or plants.html file and includes the content. Am I going about this the right way, or is there a better method?
I can bet most people here are laughing at my newbie question, don't blame you really lol