Devam Ediyor

478062 simple php date comparison


I need to compare these 2 dates.

intval((at)mysql_num_rows(mysql_query("SELECT * FROM solo WHERE datesent='".(date('Y-m-d'))."'")));

datesent is stored in the database as unix timestamp.

basically what I need to check is if datesent equals today.

obviously a timestamp isn't going to equal date('Y-m-d') so I need to convert something somehow. So all I need you to do is right the correct code for me.

Beceriler: Her şey Kabul, MySQL, PHP, UNIX

Daha fazlasını gör: n equals, date, simple check date, mysql_num_rows, convert unix, need solo, php code convert, php date, equals, simple comparison, simple check code, php mysql compare, php database compare, mysql database compare, date code, database compare php, compare database php, php compare database, compare date mysql php, equals php, php mysql comparison, mysql select php, mysql date today, php check date, check date php

İşveren Hakkında:
( 50 değerlendirme ) Hollister, United States

Proje NO: #2223969