Re: Inspiration for a Tombstone.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 11:01 AM +0100 6/27/08, Colin Guthrie wrote:
if ($user_name = "Dan S")

Works silently and looks right at first glance.

I forced myself to write things that way round a good number of years ago and it has served me well and caught a few potential mishaps.

Col.

Really?

I do it this way:

if ($user_name == "Dan S")

That not only looks right at first glance, but it actually works. :-)

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux