RE: [PHP] include() question
| From: | Demitrious S. Kelly | Date: | Thu, 14 Mar 2002 21:32:08 +0000 |
| Subject: | RE: [PHP] include() question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88574@lists.php.net to get a copy of this message | ||
Try to simplify the problem
$file='index.php?var=';
$file.=$var;
include($file);
-----Original Message-----
From: Phil Schwarzmann [mailto:pschwar@jhmi.edu]
Sent: Thursday, March 14, 2002 1:20 PM
To: php-general@lists.php.net
Subject: [PHP] include() question
Why doesn't this work...
include("index.php?var='$var');
I want to include a page in my code and send a variable to it but I get
some funky error.
THANKS!!