Posted by Geoff Berrow on 05/14/05 19:48
I noticed that Message-ID: <hf8c81h348758kvt6864vpc8lp5otl7n5g@4ax.com>
from Andy Hassall contained the following:
><?php
>$myvariable = 'x';
>echo $myvariable;
>
>function f()
>{
> global $myvariable;
> echo $myvariable;
>}
>?>
and of course you'll have to call the function.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|