HOLA! TENGO UN PROBLEMA AL PROCESAR UN FORMULARIO
ESTOY HACIENDO UN SISTEMA PARA AUTOMATIZAR LAS HISTORIAS MEDICAS DE UNA EMPRESA!
EL PROBLEMA ES QUE EL FORMULARIO TIENE DEMACIADOS CAMPOS QUE EN TOTAL SUMAN COMO 90 :( Y NO ME PROCESA TODOS LOS DATOS
EL PROCESO SE EJECUTA HASTA EL CAMPO 68 :(
CADA VES QUE DESEO COLOCAR LOS DEMAS DESPUES DE 68 EL PROGRMAA NO ME REGISTRA ESO! SOLO LOS 68 PRIMERO :(
AQUI DEJO EL CODIGO A VER SI ME AYUDAN
<?
//incluyo el conectar.php que es donde realiza la conexion a la base de datos
include("conexion.php");
$link=Conectarse();
//uso el metodo post para traerme los datos del formulario
$ingreso=$_POST['ingreso'];
$egreso=$_POST['egreso'];
$contrato=$_POST['contrato'];
$nhistoria=$_POST['nhistoria'];
$nombreapellido=$_POST['nombreapellido'];
$nacionalidad=$_POST['nacionalidad'];
$ci=$_POST['ci'];
$lugar_nacimiento=$_POST['lugar_nacimiento'];
$edad=$_POST['edad'];
$dia1=$_POST['dia1'];
$mes1=$_POST['mes1'];
$ano1=$_POST['ano1'];
$fecha1=($dia1 ."/". $mes1 ."/". $ano1);
$sexo=$_POST['sexo'];
$estado_civil=$_POST['estado_civil'];
$direccion=$_POST['direccion'];
$telefono=$_POST['telefono'];
$profesion=$_POST['profesion'];
$cargo=$_POST['cargo'];
$dia2=$_POST['dia2'];
$mes2=$_POST['mes2'];
$ano2=$_POST['ano2'];
$fecha2=($dia2 ."/". $mes2 ."/". $ano2);
$distrito=$_POST['distrito'];
$oficina=$_POST['oficina'];
$dia3=$_POST['dia3'];
$mes3=$_POST['mes3'];
$ano3=$_POST['ano3'];
$fecha3=($dia3 ."/". $mes3 ."/". $ano3);
$nom_ape_cf1=$_POST['nom_ape_cf1'];
$nom_ape_cf2=$_POST['nom_ape_cf2'];
$nom_ape_cf3=$_POST['nom_ape_cf3'];
$nom_ape_cf4=$_POST['nom_ape_cf4'];
$nom_ape_cf5=$_POST['nom_ape_cf5'];
$nom_ape_cf6=$_POST['nom_ape_cf6'];
$ci_cf1=$_POST['ci_cf1'];
$ci_cf2=$_POST['ci_cf2'];
$ci_cf3=$_POST['ci_cf3'];
$ci_cf4=$_POST['ci_cf4'];
$ci_cf5=$_POST['ci_cf5'];
$ci_cf6=$_POST['ci_cf6'];
$edad_cf1=$_POST['edad_cf1'];
$edad_cf2=$_POST['edad_cf2'];
$edad_cf3=$_POST['edad_cf3'];
$edad_cf4=$_POST['edad_cf4'];
$edad_cf5=$_POST['edad_cf5'];
$edad_cf6=$_POST['edad_cf6'];
$sexo_cf1=$_POST['sexo_cf1'];
$sexo_cf2=$_POST['sexo_cf2'];
$sexo_cf3=$_POST['sexo_cf3'];
$sexo_cf4=$_POST['sexo_cf4'];
$sexo_cf5=$_POST['sexo_cf5'];
$sexo_cf6=$_POST['sexo_cf6'];
$ocupacion_cf1=$_POST['ocupacion_cf1'];
$ocupacion_cf2=$_POST['ocupacion_cf2'];
$ocupacion_cf3=$_POST['ocupacion_cf3'];
$ocupacion_cf4=$_POST['ocupacion_cf4'];
$ocupacion_cf5=$_POST['ocupacion_cf5'];
$ocupacion_cf6=$_POST['ocupacion_cf6'];
$parentesco_cf1=$_POST['parentesco_cf1'];
$parentesco_cf2=$_POST['parentesco_cf2'];
$parentesco_cf3=$_POST['parentesco_cf3'];
$parentesco_cf4=$_POST['parentesco_cf4'];
$parentesco_cf5=$_POST['parentesco_cf5'];
$parentesco_cf6=$_POST['parentesco_cf6'];
$n_abuelos_vivos_paternos=$_POST['n_abuelos_vivos_paternos'];
$edad_abuelos_vivos_paternos=$_POST['edad_abuelos_vivos_paternos'];
$estado_salud_abuelos_vivos_paternos=$_POST['estado_salud_abuelos_vivos_paternos'];
$numero_abuelos_fallecidos_paternos=$_POST['numero_abuelos_fallecidos_paternos'];
$edad_abuelos_fallecidos_paternos=$_POST['edad_abuelos_fallecidos_paternos'];
$causa_muerte_abuelos_paternos=$_POST['causa_muerte_abuelos_paternos'];
$n_abuelos_vivos_maternos=$_POST['n_abuelos_vivos_maternos'];
$edad_abuelos_vivos_maternos=$_POST['edad_abuelos_vivos_maternos'];
$estado_salud_abuelos_vivos_maternos=$_POST['estado_salud_abuelos_vivos_maternos'];
$numero_abuelos_fallecidos_maternos=$_POST['numero_abuelos_fallecidos_maternos'];
$edad_abuelos_fallecidos_maternos=$_POST['edad_abuelos_fallecidos_maternos'];
$causa_muerte_abuelos_maternos=$_POST['causa_muerte_abuelos_maternos'];
$n_madre_vivos=$_POST['n_madre_vivos'];
$edad_madre_vivos=$_POST['edad_madre_vivos'];
$estado_salud_madre_vivos=$_POST['estado_salud_madre_vivos'];
$numero_madre_fallecidos=$_POST['numero_madre_fallecidos'];
$edad_madre_fallecidos=$_POST['edad_madre_fallecidos'];
$causa_muerte_madre_fallecidos=$_POST['causa_muerte_madre_fallecidos'];
$n_padre_vivos=$_POST['n_padre_vivos'];
$edad_padre_vivos=$_POST['edad_padre_vivos'];
$estado_salud_padre_vivos=$_POST['estado_salud_padre_vivos'];
$numero_padre_fallecidos=$_POST['numero_padre_fallecidos'];
$edad_padre_fallecidos=$_POST['edad_padre_fallecidos'];
$causa_muerte_padre_fallecidos=$_POST['causa_muerte_padre_fallecidos'];
$n_hermanos_vivos=$_POST['n_hermanos_vivos'];
$edad_hermanos_vivos=$_POST['edad_hermanos_vivos'];
$estado_salud_hermanos_vivos=$_POST['estado_salud_hermanos_vivos'];
$numero_hermanos_fallecidos=$_POST['numero_hermanos_fallecidos'];
$edad_hermanos_fallecidos=$_POST['edad_hermanos_fallecidos'];
$causa_muerte_hermanos_fallecidos=$_POST['causa_muerte_hermanos_fallecidos'];
$n_esposo_vivos=$_POST['n_esposo_vivos'];
$edad_esposo_vivos=$_POST['edad_esposo_vivos'];
$estado_salud_esposo_vivos=$_POST['estado_salud_esposo_vivos'];
$numero_esposo_fallecidos=$_POST['numero_esposo_fallecidos'];
$edad_esposo_fallecidos=$_POST['edad_esposo_fallecidos'];
$causa_muerte_esposo_fallecidos=$_POST['causa_muerte_esposo_fallecidos'];
$n_hijos_vivos=$_POST['n_hijos_vivos'];
$edad_hijos_vivos=$_POST['edad_hijos_vivos'];
$estado_salud_hijos_vivos=$_POST['estado_salud_hijos_vivos'];
$numero_hijos_fallecidos=$_POST['numero_hijos_fallecidos'];
$edad_hijos_fallecidos=$_POST['edad_hijos_fallecidos'];
$causa_muerte_hijos_fallecidos=$_POST['causa_muerte_hijos_fallecidos'];
//realizo la sentencia sql donde voy a insertar datos en la base de datos,la tabla se llama usuario
$query=mysql_query("INSERT INTO historia_medica_pagina(ingreso,egreso,contrato,nhi storia,nombreapellido,nacionalidad,ci,lugar_nacimi ento,edad,fecha1,sexo,estado_civil,direccion,telef ono,profesion,cargo,fecha2,distrito,oficina,fecha3 ,nom_ape_cf1,nom_ape_cf2,nom_ape_cf3,nom_ape_cf4,n om_ape_cf5,nom_ape_cf6,ci_cf1,ci_cf2,ci_cf3,ci_cf4 ,ci_cf5,ci_cf6,edad_cf1,edad_cf2,edad_cf3,edad_cf4 ,edad_cf5,edad_cf6,sexo_cf1,sexo_cf2,sexo_cf3,sexo _cf4,sexo_cf5,sexo_cf6,ocupacion_cf1,ocupacion_cf2 ,ocupacion_cf3,ocupacion_cf4,ocupacion_cf5,ocupaci on_cf6,parentesco_cf1,parentesco_cf2,parentesco_cf 3,parentesco_cf4,parentesco_cf5,parentesco_cf6,n_a buelos_vivos_paternos,edad_abuelos_vivos_paternos, estado_salud_abuelos_vivos_paternos,numero_abuelos _fallecidos_paternos,edad_abuelos_fallecidos_pater nos,causa_muerte_abuelos_paternos,n_abuelos_vivos_ maternos,edad_abuelos_vivos_maternos,estado_salud_ abuelos_vivos_maternos,numero_abuelos_fallecidos_m aternos,edad_abuelos_fallecidos_maternos) VALUES ('$ingreso','$egreso','$contrato','$nhistoria','$n ombreapellido','$nacionalidad','$ci','$lugar_nacim iento','$edad','$fecha1','$sexo','$estado_civil',' $direccion','$telefono','$profesion','$cargo','$fe cha2','$distrito','$oficina','$fecha3','$nom_ape_c f1','$nom_ape_cf2','$nom_ape_cf3','$nom_ape_cf4',' $nom_ape_cf5','$nom_ape_cf6','$ci_cf1','$ci_cf2',' $ci_cf3','$ci_cf4','$ci_cf5','$ci_cf6','$edad_cf1' ,'$edad_cf2','$edad_cf3','$edad_cf4','$edad_cf5',' $edad_cf6','$sexo_cf1','$sexo_cf2','$sexo_cf3','$s exo_cf4','$sexo_cf5','$sexo_cf6','$ocupacion_cf1', '$ocupacion_cf2','$ocupacion_cf3','$ocupacion_cf4' ,'$ocupacion_cf5','$ocupacion_cf6','$parentesco_cf 1','$parentesco_cf2','$parentesco_cf3','$parentesc o_cf4','$parentesco_cf5','$parentesco_cf6','$n_abu elos_vivos_paternos','$edad_abuelos_vivos_paternos ','$estado_salud_abuelos_vivos_paternos','$numero_ abuelos_fallecidos_paternos','$edad_abuelos_fallec idos_paternos','$causa_muerte_abuelos_paternos','$ n_abuelos_vivos_maternos','$edad_abuelos_vivos_mat ernos','$estado_salud_abuelos_vivos_maternos','$nu mero_abuelos_fallecidos_maternos','$edad_abuelos_f allecidos_maternos')",$link);
if($query){
echo "<CENTER><font color=#000000 size=1 face=arial><B>!!! El producto ha sido registrado Satisfactoriamente !!!</B></font><br><IMG SRC=img/bien.png BORDER=0 align=center><BR><BR><a href=pagina2-4.htm><font color=#000000 size=1 face=arial><B>SEGUIR</B></font><br><img src=img/seguir.png border=0></a>";
}else{
echo "<FONT SIZE=2 COLOR=#000000>Registro Fallo <br><IMG SRC=img/stop.png BORDER=0 align=center></FONT>";
}
?>