Reply to Re: using php to move rows from text file into mysql table

Your name:

Reply:


Posted by Rik on 06/21/07 07:37

On Thu, 21 Jun 2007 02:17:08 +0200, mantrid <ian.dandav@virgin.net> wrote:

> That did it. thanks.
> Just one problem with the field datetime (type datetime). values are not
> saving, get 0000-00-00 00:00:00 added instead of the actual date and
> time.

That is what happens if MySQL gets a string it cannot interpret as a
datetime field. Check the format of the date you have in the file, and
adjust it before inserting to MySQL's format.

--
Rik Wasmus

[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

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