So I'm developing a custom website for the upcoming rz muserver and it's pretty much finished, except for entering a proper password in the memb__pwd field in the database upon registering.
I'm currently using this query:
Which works fine but doesn't enter a proper password in the database, because I'm not able to login in to the game with the accounts created with this query.PHP Code:mssql_query("INSERT INTO MEMB_INFO (memb___id, memb__pwd, memb_name, sno__numb, mail_addr, Gender, memb__pwd2, bloc_code, ctl1_code) VALUES ('".$_POST['user']."',CONVERT(varbinary(16),'".md5($_POST['pass'])."'), 'test', '".$_POST['id_code']."', '".$_POST['email']."', '".$_POST['gender']."', '".$_POST['pass']."', 0, 0)")
So obviously this part of the query is wrong:
If someone knows what's wrong with this part, could they please tell me.PHP Code:"CONVERT(varbinary(16),'".md5($_POST['pass'])."')"
Thanks.


![[Help] What to enter in the memb__pwd field?](http://ragezone.com/hyper728.png)




