View Single Post
  #7  
Old 08-01-2011, 12:26 PM
Slix's Avatar
Slix Slix is offline
Member
 
Join Date: Jun 2010
Posts: 14
Credits: 2,269
Slix
Default

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.
__________________
Poliwager ~ Pokémon Forums ~ Adopt a Pokémon

Reply With Quote