Horje
How to generate md5 with php and mysql

you have typo mistake and unwanted )closing bracket.. use this

 $str = md5($pass2);
  mysql_query("DECLARE @AIDIdent int INSERT INTO UserInfoFromPublisher (fdUserID,fdGameID,fdPassword,fdCash) VALUES ('".$username."',NULL,'".$str."',10000) ");
   echo '<p class="errormsg">The account "'.$username.'" has been successfully made!</p>';
                        }





php md5

Type:
Codeexample
Category:
Code Example
Sub Category:
PHP Code Example
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference