Jump to content

[SOLVED] unknown insert error


otuatail

Recommended Posts

Can't figure out why a simple insert is not working. Tearing hair out

 

DROP TABLE IF EXISTS `news`;
CREATE TABLE IF NOT EXISTS `news` (
  `id` int(11) NOT NULL auto_increment,
  `Submitted` smallint(2) unsigned default NULL,
  `SubmitDate` int(4) unsigned default NULL,
  `content` text default NULL,
  PRIMARY KEY  (`id`)
) TYPE=MyISAM;

INSERT INTO `news` VALUE ('', 3 , 1197996534 ,'Paul We are a team and we share everything');

#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 'VALUE ('', 3 , 1197996534 ,'Paul We are a team and we share eve 

Link to comment
https://forums.phpfreaks.com/topic/77521-solved-unknown-insert-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.