Re: Including files & variables ...

From: Date: Wed, 02 Jan 2002 13:55:08 +0000
Subject: Re: Including files & variables ...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79224@lists.php.net to get a copy of this message
what everyone is trying to say is that it goes automatically.. ie . >test.php ------------------------------ $blah=10; include "whatever.php"; >whatever.php ------------------------- echo "The value of blah is: {$blah}"; It just keeps the variable since it's global.. When ur using a function. It can be different, since you have to import these variables. Warm regards, EMile Bosch "Evansville Scene" <webmaster@evansvillescene.com> wrote in message news:001001c1a870$353b3240$6401a8c0@amd... I'm having problems passing variables into included PHP files. How can I do this?

« previous php.general (#79224) next »