Nope. No _.
My bet is that $_GLOBALS["msg_no"] isnt set.
Test this: echo isset($_GLOBALS["msg_no"]) ? "msg_no is set!" : "msg_no
is NOT set";
> -----Ursprungligt meddelande-----
> Fr=E5n: Vincent, Justin [mailto:J.Vincent@e...]
> Skickat: den 10 oktober 2002 13:19
> Till: professional php
> =C4mne: [pro_php] RE: Using $GLOBALS in a function within a class
>
>
> > $this->msg_no =3D $GLOBALS["msg_no"];
>
> Not sure if this is it but that should read..
>
> $this->msg_no =3D $_GLOBALS["msg_no"];
>
> With the _
>
> Justin.
>
>
>