select * from topic
 where DATE_SUB(CURDATE(),INTERVAL 3 DAY) <= time;  http://dev.mysql.com/doc/mysql/en/date-and-time-functions.html