Ver Mensaje Individual
  #3 (permalink)  
Antiguo 23/03/2011, 10:35
itachi_the_inmortal
 
Fecha de Ingreso: abril-2010
Mensajes: 34
Antigüedad: 14 años, 1 mes
Puntos: 1
Respuesta: como guardo un autoincremento?

Tu consulta debe quedar así...

Código MySQL:
Ver original
  1. $insercion = "INSERT INTO datos_familiares (NOM_COM_PAD,NOM_COM_MAD, DIR_FAM, TEL_FIJ_FAM, TEL_MOV_FAM, NUM_DOC_INT)
  2.  
  3. VALUES ('$padre','$madre', '$direccion', '$telefono_fijo', '$telefono_movil', '$identificacion' )";