"Nafiseh Saberi" <[EMAIL PROTECTED]> wrote in message
> hi.
> I want to use glabal variable.
> <?
> global $a;
> ?>
> but it doesnot work??

... why do you think you need to use global here?

global is used *in a function* to let it see
external variables.  You are not in a function,
so I don't see why you think you need it.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to