![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
04/06/2009, 22:49
|
![Avatar de spolli](http://static.forosdelweb.com/customavatars/avatar275844_1.gif) | | | Fecha de Ingreso: diciembre-2008
Mensajes: 68
Antigüedad: 16 años, 2 meses Puntos: 0 | |
Respuesta: no me guarda el numero de id de la noticia La tabla comentarios
CREATE TABLE `comentarios_critico` (
`id` int(4) NOT NULL,
`nick` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`comentario` blob,
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
la tabla de las noticias
CREATE TABLE `critico` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`titulo` text CHARACTER SET latin1 NOT NULL,
`cuerpo` text CHARACTER SET latin1 NOT NULL,
`fecha` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`foto` text CHARACTER SET latin1 NOT NULL,
`titulo1` text CHARACTER SET latin1 NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ; |