> All variables in PHP are local to the scope in which it is defined. You
> cannot declare a variable as global (as such). To use a global variable:
This is true. But I believe that the original question was actually
the other way around... Make a local variable into a global one.
The way to d
On Thursday 07 February 2002 23:48, Wee Chua wrote:
> Hi all,
> I have tried:
> global $myArray[]
>
> and it gives me an error 'the array expects semi-colon or comma'. Any helps
> would be appreciated!
>
> Thanks,
> Wee
>
> -Original Message-
> From: Bjorn Abt [mailto:[EMAIL PROTECTED]]
>
Hi all,
I have tried:
global $myArray[]
and it gives me an error 'the array expects semi-colon or comma'. Any helps
would be appreciated!
Thanks,
Wee
-Original Message-
From: Bjorn Abt [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 10:57 AM
To: '[EMAIL PROTECTED]'
Subjec
3 matches
Mail list logo