You are here: Re: [PHP] Inserting a NULL value into MySQL via PHP « PHP « IT news, forums, messages
Re: [PHP] Inserting a NULL value into MySQL via PHP

Posted by Jasper Bryant-Greene on 11/11/05 02:09

benc11@gmail.com wrote:
> Is there a way when making a MySQL database entry through a PHP script and
> there is no data to make the db treat it as NULL?

Wouldn't this just work:

INSERT INTO myTable (myField) VALUES (NULL)

Jasper

 

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

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