www.webdeveloper.com
Results 1 to 3 of 3

Thread: (Help) Error help - You have an error in your SQL syntax

  1. #1
    Join Date
    Jun 2013
    Posts
    2

    (Help) Error help - You have an error in your SQL syntax

    #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 ') ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=758' at line 8


    PHP Code:
    CREATE TABLE IF NOT EXISTS  `postback` (
     `
    idINT11 NOT NULL AUTO_INCREMENT ,
     `
    usernameVARCHAR255 COLLATE utf8_unicode_ci NOT NULL ,
     `
    currencyVARCHAR255 COLLATE utf8_unicode_ci NOT NULL ,
     `
    networkVARCHAR255 COLLATE utf8_unicode_ci NOT NULL ,
     `
    dateTEXT COLLATE utf8_unicode_ci NOT NULL ,
    PRIMARY KEY (  `id` ) ,
    ENGINE MYISAM DEFAULT CHARSET utf8 COLLATE utf8_unicode_ci AUTO_INCREMENT =758

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,334
    I don't think you want that comma after the primary key statement
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Jun 2013
    Posts
    2
    trank you men!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles