$year = $_POST['year'];
$selMonthSql = "SELECT DISTINCT(DATE_FORMAT(时间列,'%m')) as month FROM orders WHERE 时间列 LIKE '%$year%'";
$monthRes = getRes($selMonthSql);
$year = $_POST['year'];
$selMonthSql = "SELECT DISTINCT(DATE_FORMAT(时间列,'%m')) as month FROM orders WHERE 时间列 LIKE '%$year%'";
$monthRes = getRes($selMonthSql);