Click to See Complete Forum and Search --> : Php help!
cscartman
03-28-2003, 07:17 PM
How do you make new content on the same file for example the link will be
sample.php?page=somepage
I want to do that but i have no idea how to do that i have looked for several hours to find a tutorial but i can.
jpmoriarty
03-29-2003, 06:33 AM
$file = $_GET['page'];
include("$file.php");
for more php support and help, head on over to www.phpbuilder.com/board
and personally i wouldnt bother with tutorials if you're new - buy a book. I use php and mysql web development by luke welling and laura thompson and it's fab, but online help is only really useful for fixing bugs and advanced stuff: real basics (like the above) are best learnt through a book.
cscartman
03-29-2003, 12:50 PM
Yea i find that codewalkers.com and phpfreaks.com are useful as well thanx alot