=/ I’ve searched the internet for quite a while now, and it’s just not working out for me.
Here’s what I want: I want it so that I can type in “http://urlofwebsite/index.php?home.php” and it’ll bring me to index.php, and include home.php in the bottom of the page. I have this right now:<?php include("page_" . $_GET['page'] . ".php") ?>
And… nothing. I go to the page with the ? variable in there, and it acts like the code doesn’t exist. I just get the index page. I’ve also tried, instead of using “home.php” I’ve used, “page=home.php” “home” and “page=home”.
Thanks for the help.
Update: Not even the sample Php Include codes will work if I copy and paste them into a file with the appropriate names. Will someone do me a favor and make 1 file that includes another, then upload them both and give me a link to them for me?