Re: Including files & variables ...
| From: | Jason G. | Date: | Wed, 02 Jan 2002 19:43:01 +0000 |
| Subject: | Re: Including files & variables ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79245@lists.php.net to get a copy of this message | ||
What you need to do is simply set the variables before you include the script.
When you include a script with include() or require(), they fall into the same namespace as the include() or require() function that called them.
Best Regards,
Jason Garber
IonZoft.com
At 06:54 PM 1/28/2002 -0800, Evansville Scene wrote:
I'm having problems passing variables into included PHP files. How can I do this?