MD5 troubles...
Posted: Thu Aug 05, 2004 9:45 pm
Hi. Ill post my code and then explain whats wrong.
Now, whatever $pass is, the MD5 value of it always comes out in the database as:
b148e7f41fdc3be4b14e8d17e068bbad
Can anyone help or do i need to post more code?
Code: Select all
$mpass=MD5("$pass");
mysql_query("INSERT INTO sspp SET id='',user='$user',pass='$mpass',fname='$fname',lname='$lname',nname='$nname',staff='No',email='$email'");b148e7f41fdc3be4b14e8d17e068bbad
Can anyone help or do i need to post more code?