select * from yk_popup where DATE_FORMAT(now(),'%Y-%m-%d') >= reg_date and check_use='Y' and (level=0 or level=1)
2006 : MySQL server has gone away
error file : /index.php