|
Posted by Erwin Moller on 02/07/07 11:20
P Pulkkinen wrote:
>> Why not simply throw your stuff in $GLOBALS?
>> Something like this:
>> $myVars = array('nr1' => 123, 'nr2' => "bla");
>> $GLOBALS[] = $myVars;
>> It should have the same effect. I think.
>> Regards,
>> Erwin Moller
>
> Well, I have not tried. I hope it works. I thought $GLOBALS, or was it
> $_GLOBALS, was only reserved for php inner automatic use.
Yes, I asked in the very newsgroup a week ago how to throw out all variables
in PHP.
I tried print_r($_GLOBALS), but it turned out the developers named it in
their infinite wisdom $GLOBALS without the _.
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|