Yes, I'm a total PHP n00b (but it's all good, right?) and I'd like a little bit of help if you guys could offer it
I'm creating a web site with several different themes (just like this one. Yes, I got the idea from you guys
This is my big thing:
I figured I'd rather not rewrite all of my information on to a bunch of new pages over and over and over...
Rather than copying and pasting information on one page to another page within a different theme, I want to use includes. Well, that's simple enough. But to make it even easier, rather than creating separate pages with a specific include (i.e.- one page for cat.php and one for dog.php) I'd like to use a SINGLE page that prints a certain page according to the link.
On the target page (we'll call it page.php, k?
<?
print $name
?>
In the url, I put this (this format... I know my site is not mysite.com
http://www.mysite.com/page.php?$name=target.php
So what I'm trying to do is take the include named "target.php" and have it show up on the page. Will that work? Thanks for your help!