Jump to content

Archived

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

BurningOD

a mySQL table

Recommended Posts

ok..i got to make a mySQL table in my database at www.coolfreepage.com..is the host..and i get this stupid error

MySQL said:

 

 

You have an error in your SQL syntax near \'log( id int( 3 ) unsigned NOT NULL AUTO_INCREMENT , info blob, ip text, PRIM\' at line 1

 

 

Im useing phpmyadmin to edit my database...any help on correction this would be nice thx

Share this post


Link to post
Share on other sites

what is the full sql? it looks like you have a spare paren in there...

Share this post


Link to post
Share on other sites

CREATE TABLE log (

id int(3) unsigned NOT NULL auto_increment,

info blob,

ip text,

PRIMARY KEY (id),

UNIQUE KEY id (id),

KEY id_2 (id)

) TYPE=MyISAM;

 

is the full code..since im a newbie at php i can somewhat make the scripts and such..but finding errors is just not a thing for me :-/ :oops:

Share this post


Link to post
Share on other sites

×

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.