You are here: Re: Timestamp problem « PHP Programming Language « IT news, forums, messages
Re: Timestamp problem

Posted by damezumari on 11/24/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!

 

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

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