Reply to php mysql - time question

Your name:

Reply:


Posted by Nel on 06/09/06 11:14

Hi,

I am trying to access the records from a database for the last hours updates
using the following code.

SELECT * FROM `log` WHERE (
unix_timestamp(now() - 3600) < unix_timestamp(timevisited)
)

It doesn't seem to be working correctly. It returns all results (going back
a few hours to when I started the log table).

Am I making some basic mistake?

Nel.

[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

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