note 23732 added to function.include
| From: | php-general at lists dot php dot net | Date: | Fri, 26 Jul 2002 05:49:59 +0000 |
| Subject: | note 23732 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33575@lists.php.net to get a copy of this message | ||
unknownonline@lycos.co.uk,
use $inc = @include("$mod1.php");
You're using single quotes, so it includes the file '$mod1.php' and not
'name1.php'
--
http://www.php.net/manual/en/function.include.php
http://master.php.net/manage/user-notes.php?action=edit+23732
http://master.php.net/manage/user-notes.php?action=delete+23732
http://master.php.net/manage/user-notes.php?action=reject+23732