lol, yet again i need some more help

as you guys can see from the scripts before, i am including a file into a
page.  now my only problem is trying to include a different file.


what i have

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';
?>


i want to call up my contact page, but how do i do it?

http://localhost/index.php?page=$contact

or how would i do that?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to