
29/03/2012, 05:15
|
 | | | Fecha de Ingreso: diciembre-2007 Ubicación: Cantabria
Mensajes: 91
Antigüedad: 17 años, 2 meses Puntos: 11 | |
Problemas al insertar datos Tengo una tabla con esta estructura
Nombre -> varchar(255)
Edad -> int(11).
Cuando inserto un nuevo registro del tipo
Nombre -> "juan"
Edad -> "juan"
phpmyadmin devuelve un WARNING pero genera el registro cambiando la edad por un cero.
Cualquier otro gestor de base de datos no deja introducir un texto en un campo integer y no inserta registro nuevo
ESTO TIENE SOLUCIÓN?
Gracias. |