Re: Inspiration for a Tombstone.
| From: | tedd | Date: | Fri, 27 Jun 2008 13:13:56 +0000 |
| Subject: | Re: Inspiration for a Tombstone. | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276044@lists.php.net to get a copy of this message | ||
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