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
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
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
3 matches
Mail list logo