You are here: Re: mySQL time insert (and 1 more Q) « All PHP « IT news, forums, messages
Re: mySQL time insert (and 1 more Q)

Posted by Dmitry Lukashin on 06/07/05 18:23

I have field like this
`lastvisit` int(11) unsigned NOT NULL default '0'

Try to add UNSIGNED option to field definition

On 2005-06-03, Lee David <affordable_turnkey_solutions@comcast.net> wrote:
>
> I have a script to insert a record into a table. The PK is ID and AddDate
> and the other two fields are a expire date and a messages. Question one is
> how do you add a timestamp to a mySQL table. I tried using a simple time(),
> but that didn't work.

 

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

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