
08-01-2011, 12:26 PM
|
 |
Member
|
|
Join Date: Jun 2010
Posts: 14
Credits: 2,831
|
|
Like I stated above, this:
Code:
//We are attempting to register the user...
//First MD5 hash the passwords:
$pass1 = md5($pass1);
$pass2 = md5($pass2);
Needs to be moved down below here, where it says $date.
Code:
//All checks are done, actually create the user's account on the database
$date = date('Y-m-d');
mysql_query("INSERT INTO ".$prefix."users VALUES ('', '$username', '$pass1','$email','3','1', '$date', '0','','','','','')");
That fixed the issue.
|