Re: [PHP] require_once(); questions

2001-07-07 Thread Chris Anderson
Try putting GLOBAL infront of the var to give it the greater scope - Original Message - From: "Chris Anderson" <[EMAIL PROTECTED]> To: "Inércia Sensorial" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, July 07, 2001 8:50 PM Subjec

Re: [PHP] require_once(); questions

2001-07-07 Thread Inércia Sensorial
I guess I know what may be wrong. My function that includes the files, it is called several times, with different arguments being passed. It is something like: function LoadPositionedModules ($posv, $posh) { // $posv is vertical position, and $posh is horizontal position // Inside it

Re: [PHP] require_once(); questions

2001-07-07 Thread Chris Anderson
Actually this does work: //First_File.php //Second_File.php //Active file That would produce the output of : I am the test variable An include or require just places the files' contents at the line you include it. So after the includes(requires) my parsed code was: Hope this helps