simple php date comparison
Hello, 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.
Original post by Freelancer.com - New Projects