A
Anonymous
Guest
Hi,
I created a database Temp and when I try to input this create table Data (which I got from a website tutorial) I get this message, What is wrong...the Data or my phpmyadmin or mySQL?
----------------------------------
Error
SQL query:
CREATE TABLE 'tutorials'(
'ID'tinyint( 11 ) NOT NULL AUTO_INCREMENT ,
'title'text NOT NULL ,
'avatar'text NOT NULL ,
'date'date NOT NULL default '0000-00-00',
'description'text NOT NULL ,
'user'text NOT NULL ,
'message'text NOT NULL ,
PRIMARY KEY ( 'ID' )
) TYPE = MYISAM AUTO_INCREMENT =1;
MySQL said: Documentation
#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 ''tutorials' (
'ID' tinyint(11) NOT NULL auto_increment,
'title' text NOT NULL,' at line 1
---------------------------------------
I created a database Temp and when I try to input this create table Data (which I got from a website tutorial) I get this message, What is wrong...the Data or my phpmyadmin or mySQL?
----------------------------------
Error
SQL query:
CREATE TABLE 'tutorials'(
'ID'tinyint( 11 ) NOT NULL AUTO_INCREMENT ,
'title'text NOT NULL ,
'avatar'text NOT NULL ,
'date'date NOT NULL default '0000-00-00',
'description'text NOT NULL ,
'user'text NOT NULL ,
'message'text NOT NULL ,
PRIMARY KEY ( 'ID' )
) TYPE = MYISAM AUTO_INCREMENT =1;
MySQL said: Documentation
#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 ''tutorials' (
'ID' tinyint(11) NOT NULL auto_increment,
'title' text NOT NULL,' at line 1
---------------------------------------