if($_POST['mes_f' == 'january') {$query = mysql_query("insert into ......");} elseif($_POST['mes_f'] == 'June') {$query = mysql_query("insert into ......");}