Results 1 to 10 of 14

Thread: Register mysql problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Private First Class
    Join Date
    Mar 2016
    Posts
    134
    Thanks
    48
    Thanked 11 Times in 10 Posts
    I tried this query
    PHP Code:
    CREATE TABLE IF NOT EXISTS `createNewAccount` (
      `
    useridint(10NOT NULL AUTO_INCREMENT,
      `
    usernamevarchar(32) DEFAULT NULL,
      `
    passwordvarchar(32) DEFAULT NULL,
      
    PRIMARY KEY (`userid`)
    ENGINE=MyISAM DEFAULT CHARSET=latin1
    nothing as usal.
    I do !register user pass, console gets
    PHP Code:
    querySELECT createNewAccount('test12''test12') AS `userid
    And instead of getting message ingame saying account created, i get username already excists.
    I try !login test12 test12 i get nothing.
    I checked columns of createnewaccount table, nothing in there. It's like the query ain't working at all.

  2. The Following User Says Thank You to suck000 For This Useful Post:

    kubislav23 (16th April 2017)

Posting Permissions

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