Hola amigos soy nuevo y queria saber que sucede a mi archivo, soy novato en esto de las tablas solo se agregarlas a la base de datos, pero curiosamente me sucede que intento meter una aqui se las pongo:
CREATE TABLE IF NOT EXISTS `links` (
`id` int(8) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`description` text NOT NULL,
`votes` tinyint(2) DEFAULT '0',
PRIMARY KEY (`id`)
)
INSERT INTO `links` (`id`, `title`, `description`, `votes`) VALUES
(1, 'Favorite Star Rating with jQuery', 'This tutorial is for doing favorite star rating using jQuery. It displays list of HTML stars by using li tags. These stars are highlighted by using CSS and jQuery based on the favorite rating selected by the user.', 0),
(2, 'PHP RSS Feed Read and List', 'PHP''s simplexml_load_file() function is used for reading data from xml file. Using this function, we can parse RSS feed to get item object array.', 0),
(3, 'jQuery AJAX Autocomplete – Country Example', 'Autocomplete feature is used to provide auto suggestion for users while entering input. It suggests country names for the users based on the keyword they entered into the input field by using jQuery AJAX.', 0);
Cuando intento ponerla me dice un error el cual entendi es por estos signos ` ` intente sacarlos y cuando meto otra vez me dice el error 1064 es decir el mismo error si no es mucha molestia alguien que me diga que sucede alli
aqui el error miren:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'INSERT INTO `links` (`id`, `title`, `description`, `votes`) VALUES (1, 'Favorit' at line 9