View Single Post
  #2  
Old 10-16-2011, 05:20 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 599,652
Hall of Famer is on a distinguished road
Default

It looks to me that your mysql query is inconsistent with your database table structure. Look at your table prefix.users and see how many columns it has. The mysql insert query should have the same number of fields as the number of columns in your table prefix.users. Edit this line in your register.php and you will be able to fix your problem.

PHP Code:
runquery("INSERT INTO ".$prefix."users VALUES ('', '$username',  '$pass1','$email','3','1', '$date', '0', '0' ,'','','','','',  '{$GLOBALS['settings']['startmoney']}', '','$avatar', '', '', '', '1',  'Unknown', '')"); 
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote