I am trying to create a data base that holds just one item. A paragraph of html. To make it simple I have reduced that paragraph to a 3 letter word. I created a data base in phpmyadmin then created an sql. file with this info. and tried to import it into my data base. The MySQL manual offers no meaningful information regarding this error code. Can anyone give me some guidance, thanks. CREATE TABLE IF NOT EXISTS `xhtml_table` ( `xhtml_field` blob NOT NULL ); INSERT INTO `xhtml_table` (`xhtml_field`) VALUES (xfg); I get this error. Error SQL query: INSERT INTO `xhtml_table` ( `xhtml_field` ) VALUES ( xfg ); MySQL said: Documentation #1054 - Unknown column 'xfg' in 'field list'
you need simple / single quotes for values do this one INSERT INTO `xhtml_table` (`xhtml_field`) VALUES ('xfg');