Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18

Thread: PHP MySQL insert statement not working.

  1. #16
    Join Date
    Jul 2013
    Voorheesville NY USA
    So now you understand what the term "auto-increment" means.

    Yes - that is a much better query statement altho I don't know why you split it up at 'VALUES'.

    BTW - while I am helping you accomplish a single task here, it would be lacking of me not to tell you that you have several other issues that you should handle. For one - DO NOT STORE A PASSWORD IN PLAIN TEXT!

  2. #17
    Join Date
    Oct 2013
    about the password this database is on my workstation and its used only for testing, i will have the password field encrypted for the release version, thanks for all the help here.

  3. #18
    Join Date
    Jun 2007
    Yeah generally speaking you don't want to insert anything into an auto_increment field, the "auto" part of it will handle that itself.

Thread Information

Users Browsing this Thread

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

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