....filtros de que existan los valores $_POST......$var=$_POST['cod_tipo_pres'].$_POST['numero'].$_POST['anio'];mysql_query("INSERT INTO PRESUPUESTOS VALUES ('$var,.....