Might need to use === just to enforce which type of Michael is targeted here :P
On Wed, Oct 21, 2009 at 11:36 AM, <[email protected]> wrote: > >>>>>> "MatF" == MatF <[email protected]> writes: > > MatF> if ($userName = 'Micheal') { echo header( > MatF> 'http://groups.google.com/group/elitenzphpug/' ) ; } > > MatF> Wow. I almost wrote that from scratch! Dang, I'm getting > MatF> better at this PHP thing ;p > > Eh, that should be > > $userName == 'Micheal' [sic?] > > So two ==, not one, thanks PHP's C heritage. > > -- > Cheers, > > Berend de Boer > > > > -- Blue Horn Ltd - System Development http://bluehorn.co.nz --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
