Blog

Using the mysqli_real_escape_string() and md5() Functions to Escape and Encrypt a Submitted Password
Posted on June 19, 2015 in MySQL, PHP by Matt Jennings

Example code:

$esc_sec_password = mysqli_real_escape_string($connection, md5($_POST['password']));

Leave a Reply