RE: Question about variables

From: Date: Thu, 06 Jul 2000 06:16:18 +0000
Subject: RE: Question about variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5172@lists.php.net to get a copy of this message
Yes I do it all the time and I have never had to made a variable global. Ted Knudson http://www.automatedcabinets.com http://www.pulsarusa.com > -----Original Message----- > From: Ken Bogucki [mailto:k.bogucki@worldnet.att.net] > Sent: Wednesday, July 05, 2000 2:00 PM > To: php list > Subject: Question about variables > > > Question about variables.... > > I've read the docs and my ref book, frankly I'm a little confused. > > If I start a php script on page 1.php3 and use an include to > incorp a file of defined > variables, database name, pass word etc and 1.php3 sends the > script to 2.php3 and > 2.php3 sends the rest of the excecution to either 3.php3 or > 4.php3 (through > includes)...if I'm reading the docs right, the orginal defined > variables should still > be available with their values in the third and fourth pages. Is > this correct..I > don't have to include the orginal variable list in page 3 or 4. > > > ken > >

« previous php.general (#5172) next »