You are here: RE: [PHP] php + mysql - timstamp - calculate hours remaining « PHP « IT news, forums, messages
RE: [PHP] php + mysql - timstamp - calculate hours remaining

Posted by "Albert" on 01/10/06 15:41

I wrote:
> Delete the records from the table:
> mysql_query("DELETE FROM table WHERE timestamp >= '$timestamp'") or
> die('Could not delete from table');

That query should be

DELETE FROM table WHERE timestamp <= '$timestamp'

Sorry about that.

Albert

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date: 2006/01/09

 

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

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