Web Analytics Made Easy -
StatCounter Please Help Me At Column count doesn't match value count at row 1 - CodingForum

Announcement

Collapse
No announcement yet.

Please Help Me At Column count doesn't match value count at row 1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Please Help Me At Column count doesn't match value count at row 1

    i Got error in the mysql: "Column count doesn't match value count at row 1"

    Here is the code of my php:

    PHP Code:
    $ia mysql_query("INSERT INTO `accounts` (`name`,`password`,`birthday`,`email`,`banreason`,`macs`) VALUES ('".$username."','".sha1($password)."','".$birth."','".$email."','".$username."', '1', '0', '0')") or die(mysql_error()); 
    Whats is my problem

  • #2
    "Column count doesn't match value count at row 1"
    That's obvious from your query
    (`name`,`password`,`birthday`,`email`,`banreason`,`macs`)
    ('".$username."','".sha1($password)."','".$birth."','".$email."','".$username."', '1', '0', '0')
    . Isn't it?
    Digitalocean Cloud Hosting (Referral link - get $10 free credit) Fameco

    Comment


    • #3
      hhhm i think

      Comment


      • #4
        Here a video that i made few second ago on my problem that for you will be more easier get to the solution and the php file:

        http://www.mediafire.com/?yfhyjn3iyt0

        Comment


        • #5
          You don't need a video, you've named 6 columns and are trying to insert 8 values. Doesn't compute.

          Comment


          • #6
            This is a forum for posters and developers with actual problems. You are trying to make a registration page for a MapleStory private server - which infringes on Nexon America's intellectual property rights. If you are desperate for help, I highly suggest going on forums specialized in (illegal) activities for this, such as RaGEZONE.

            You should note that several of the top private servers are getting legitimate DMCAs for opening their game to the public, so if you want to stay safe, I strongly advise to not even continue with making your server.

            If you would like to know more about the risks or experience of setting up a private server, send me a PM or ask me here; I've been following the community for quite a while now because I've played MapleStory (and admittedly, have tried some servers ). Nexon is finally doing the right thing and taking action against some of these server owners.

            Also, you can't get a MAC address from a web script, so why bother including that?

            Comment

            Working...
            X