Hi all, I am trying to add a realy simple free shout box script to my site. I got the script form a post here. http://forums.digitalpoint.com/showthread.php?t=686519 . I know some php and sql and have been trying to get the sql to work for this. Any help would be appreciated. If you know of a realy good schout box script that is very basic and small let me know please. The problem I am having is inserting the code into the database. Here is what I have been trying for the example from the linked post above. CREATE TABLE shouts ( id int(11) NOT NULL auto_increment, name varchar(30), shout varchar(130), contact varchar(130) PRIMARY KEY(`id`) ); Code (markup): I keep getting the error message: #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 '(`id`) )' at line 6 Thanks for any suport
CREATE TABLE shouts ( id int(11) NOT NULL auto_increment, name varchar(30), shout varchar(130), contact varchar(130), PRIMARY KEY(`id`) ); PHP: You forgot the ","