Re: include help please

From: Date: Thu, 31 Jul 2003 20:11:14 +0000
Subject: Re: include help please
Groups: php.general 
Request: Send a blank email to php-general+get-157805@lists.php.net to get a copy of this message
<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;

« previous php.general (#157805) next »