You are here: Re: Comparing Two Dates Using PHP from MYSQL Database « PHP Programming Language « IT news, forums, messages
Re: Comparing Two Dates Using PHP from MYSQL Database

Posted by milahu on 11/07/54 11:44

You can convert mySQL timestamps to UNIX timestamps using mySQL's
UNIX_TIMESTAMP() function and simply compare them in PHP.

When using a mySQL database, you should connect to the database server
once and select the needed database. Then you can perform your queries.
The connection to the server is closed automatically after the script
has finished.

 

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

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