Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/11/2009, 19:16
Avatar de MARKWEB
MARKWEB
 
Fecha de Ingreso: septiembre-2001
Ubicación: En mi casa
Mensajes: 1.562
Antigüedad: 22 años, 7 meses
Puntos: 0
Respuesta: No ingresa datos a BD

lo probe pero no me funciono... al parecer es problema en el id

el id se me pide que tenga las siguientes caracteristicas

Entero
Autonumerico
Valor Default 0
Clave principal


yo lo tengo asi como sigue

Cita:
CREATE TABLE IF NOT EXISTS `usuarios` (
`id` int(6) NOT NULL AUTO_INCREMENT,
`nombre` varchar(50) NOT NULL,
`apellido` varchar(50) NOT NULL,
`telefono` int(11) NOT NULL,
UNIQUE KEY `ID` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PACK_KEYS=1 AUTO_INCREMENT=2 ;
__________________
Un MEJOR AMIGO es como un trébol de 4 hojas, DIFÍCIL DE ENCONTRAR y ES DE BUENA SUERTE TENER UNO