Jump to content

Date Compare Problem....Help pls!


bladez

Recommended Posts

ok i am going straight to the point.

 

i have a db that stores a date in a table with a specific column.

db=test

table=test_date_compare

column name=date_inserted

 

ok i hv a php form that allows user to input date and it enters in the above column (date) as in format eg: 21/03/2007

 

now i wat i would like to do is i would like to compare date of today and the date in the database if it is lesser then todays date it deletes that row of data.

 

 

deleting the row of data i know how but the problem comes wen coparing the date i dunno how to ...

so can anyone assist me on this pls ...thank you very much.

Link to comment
https://forums.phpfreaks.com/topic/51807-date-compare-problemhelp-pls/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.