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

Posted by damezumari on 10/22/77 11:28

I use PHP 4.4.0 and MySQL 4.0.26 and Mozilla Firefox.

This code:

$dummy = strtotime("-13 hour");
$csql = "update citc_weather
set imagepath = '$p_image',
text = '$p_text',
lastupdated = $dummy
where id = 1";

where lastupdated is of timestamp(14), doesn't work.

All that gets posted in lastupdated is 00000000000000.

 

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

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