Reply to Re: [PHP] if statement probable bug

Your name:

Reply:


Posted by Richard Davey on 03/24/05 16:15

Hello TheI2eptile,

Thursday, March 24, 2005, 2:05:14 PM, you wrote:

T> So here is what I would call a bug, but maybe it's thought to be so:

Try it with strict (data-type) comparisons, i.e.:

if ($var === "AS")

Then you won't get the "bug".

Best regards,

Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация