You are here: Re: Differentiate between NULL and 0 « PHP Programming Language « IT news, forums, messages
Re: Differentiate between NULL and 0

Posted by askMe on 01/15/06 15:03

GazK wrote:
> I have a script which takes the results of a form and updates or creates
> a record in a db table. So far so dull. It works fine, except when I
> leave certain fields blank; these are entered in the table as zero
> values. Can anyone assist me to differentiate between NULL and zero? the
> variables that are troubling are fatalities, injuries, latitude and
> longitude.
>
> TIA
>
> Garry
>

Zero is a number. NULL has no value assigned.

http://www.askblax.com

 

Navigation:

[Reply to this 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

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