Re: [PHP] Where to put the include()

2001-02-07 Thread Anna
- Original Message - From: "Remi Ricard" <[EMAIL PROTECTED]> > Hi, > > I want to know why in the second file I don't get > a=134 as expected. > // file that don't work as expected > // print a= > function f2() > { > include ('./fileToBeIncluded.php'); > f1(); > } > echo ""; > f2

[PHP] Where to put the include()

2001-02-07 Thread Remi Ricard
Hi, I want to know why in the second file I don't get a=134 as expected. // fileToBeIncluded.php "; } class smallClass { function smf1() { f1(); } } ?> // file that don't work as expected // print a= "; f2(); echo ""; ?> // file that work as expected // print a=134 "; f2(); ec