Tuesday, January 18, 2005

:: PHP :: MYSQL QUERY:TIME ::


DATE_ADD(cst_date, INTERVAL 7 DAY) - CURDATE()) <=7 AND (DATE_ADD(cst_date, INTERVAL 7 DAY) - CURDATE()) >= 0

mysql checking utk list kan tarikh 7 hari dr tarikh tersebut

huh berpeluh jugak.. nk buat checking simple nih...

No comments: