$sql2012 = "SELECT * FROM `rc_document` WHERE `doc_type` = 1 AND `show` = 0 AND `doc_year` = 2012 order by doc_month desc"; $newletters2011 = $db->loadList($sql2012);