<snip>
INDEX.PHP

<?php
require 'files.inc.php';
$page = '$home';
include '$page';
?>
the problem must be when i am trying to include the $page variable
</snip>

get rid of the ' around the variable.

$page = "something.php";
include $page;

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

Reply via email to