Look in the manual:

language.variables.scope.html

'global' is meant to use inside a function for accessing vars that are not 
in a function (the main part).

> I use global in this form:
> 
> <?
> global $a;
> $a=strtotime('now');
> .
> .
> .
> echo $a;     but in this line dont echo $a

Using global this way does not make sense.
Or you are not telling us about functions on this page.

Chris H.

--------------------------------------------------------------------
--  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --
--------------------------------------------------------------------

 

-- 
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