Reply to Re: Timestamp problem

Your name:

Reply:


Posted by damezumari on 11/29/16 11:28

I found what was missing.

This works:

$csql = 'select
imagepath,
text,
lastupdated,
UNIX_TIMESTAMP(lastupdated) as lupdated
from citc_weather';

I tested the insert and select code with the 'lastupdated' field as
data type timestamp and as datetime. It worked in both cases.

Thanks for the help!

[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

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