--- LoonySalmon <[EMAIL PROTECTED]> wrote: > INDEX.PHP > > <?php > require 'files.inc.php'; > $page = $home; > include $page; > ?> > > FILES.INC.PHP > > <?php > $home = 'home.html'; > $forum = 'forum/index.php'; > $contact = 'contact.html'; > ?> > > http://localhost/index.php?page=$contact
http://localhost/index.php?page=contact.html And get rid of your hard-coded set for $contact, and use $_GET['contact'] instead. Hope that helps. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php