.i need your help guys,. thanks, i just want to know how to encrypt the password that have been submit to the database.
/* $lik refers to the database linked, i assumed that the database has been connected */
where should i put the crypt object here in my codes?
thanks,
/* $lik refers to the database linked, i assumed that the database has been connected */
Code:
<?Php
$uname = $_POST['unametxtbox'];
$pwd = $_POST['pwdtxtbox'];
$query = mysqli_query($link, "Insert into user_tbl(username, password) values('$uname', '$pwd');
?>
where should i put the crypt object here in my codes?
thanks,
Comment