INDEX.PHP
the problem must be when i am trying to include the $page variable
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
--- LoonySalmon <[EMAIL PROTECTED]> wrote:
> $page = '$home';
...
> Warning: main($page) [function.main]: failed to create stream:
> No such file or directory in C:\swamp\www\site\index.php on line
> 109
You're trying to include a file named $home, and it doesn't exist. I think you
mean this inste
Hi,
Take the quotes off around the $page variable.
-Dan Joseph
> -Original Message-
> From: LoonySalmon [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2003 4:07 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] include help please
>
>
> i am looking to use includes on my page,
3 matches
Mail list logo