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
helps
- Original Message -
From: "Inércia Sensorial" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 07, 2001 5:59 PM
Subject: [PHP] require_once(); questions
> Hi All,
>
> I have a function that includes files based on some SQL queries
Hi All,
I have a function that includes files based on some SQL queries. On one of
the first loaded files, I want to define a function and use it on another
included file. Something like:
includes file:
first_file.inc.php
This file has: $test = "Show me!";
Then include file:
second_file.php
4 matches
Mail list logo