Forum Moderators: coopster
<?php
$email = htmlentities($_POST['email'], ENT_QUOTES);
$dbLink = mysql_pconnect("localhost", "root", "password");
mysql_select_db("theDB", $dbLink);
$Query = "Select fldPassword " . "From tblLogIn " . "where fldEmail = '$email'";
$dbResult = mysql_query("$Query",$dbLink);
$password = mysql_result($dbResult,0,"fldPassword");
mail("$email", "The information you requested", "$password");
?>
My operating system in Windows XP home edition and I'm running my own Apache 2.0 server and have used "sokkit" which is a combination of php, apache, and mysql to configure php, apache, and mysql. If anyone can help but needs more info, let me know. Thanks guys! 8)