I have a very simple question : how to insert the password using sha1(md5) format into db and how to select it fr data.
registration.php:
$email=$_POST['email'];
$password=$_POST['password'];
"INSERT INTO `users` VALUES ('$email', $password)";
Code (markup):
$email=$_POST['email'];
$password = $_POST['password'];
"SELECT * FROM `users` WHERE `email`='" . $email . "' AND `password`='" . $password . "';
Code (markup):
Hanna
from PHP http://ift.tt/1SznuKt
via IFTTT
Out Of Topic Show Konversi KodeHide Konversi Kode Show EmoticonHide Emoticon