![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
29/03/2012, 05:15
|
![Avatar de efedefernan](http://static.forosdelweb.com/customavatars/avatar208344_5.gif) | | | Fecha de Ingreso: diciembre-2007 Ubicación: Cantabria
Mensajes: 91
Antigüedad: 17 años, 1 mes 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. |