1
General / Re:[Ayuda] Error en Mysql
« en: 23 de Julio de 2012, 21:11:05 pm »
Muchas gracias problema solucionado
Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ENGINE=MyISAM DEFAULT CHARSET=latin1' at line 12
--
-- Estructura de tabla para la tabla `cms_radio`
--
CREATE TABLE IF NOT EXISTS `cms_radio` (
`radio_ip` text NOT NULL,
`radio_passw` text NOT NULL,
`radio_port` int(6) NOT NULL,
`radio_status` enum('on','off') NOT NULL DEFAULT 'on',
`radio_dj` int(15) NOT NULL DEFAULT '2',
`radio_name` text NOT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Volcar la base de datos para la tabla `cms_settings`
--
INSERT INTO `cms_radio` (`radio_ip`, `radio_passw`, `radio_port`, `radio_status`, `radio_dj`, `radio_name`) VALUES
('localhost', '7shxb', '8080', 'on', 'ComVec', 'FM');
-- --------------------------------------------------------
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7
Mi consulta es:CREATE TABLE noticias (
id_noticia int(4) AUTO_INCREMENT NOT NULL,
autor varchar(255),
titulo varchar(255),
categoria varchar(255),
fecha datetime NOT NULL,
noticia blob, KEY(id_noticia),
<a href="link.php">Tu texto</a>
http://www.tuweb.com/index.php
http://www.tuweb.com/index.php?ver=contacto