$sql = "select * From ess_news where 1 and Public='Yes' and DATE_FORMAT(PublicFrom, '%Y-%m-%d') <= '".date("Y-m-d")."' and DATE_FORMAT(PublicTo, '%Y-%m-%d') >= '".date("Y-m-d")."' ";
การ select month ไม่ยากครับ
เช่น select month(filed-date) as strMonth from table where Month(filed-date)='2'