function sendpassemail($emailaddress, $password) { $controlquery = doquery("SELECT * FROM {{table}} WHERE id='1' LIMIT 1", "control"); $controlrow = mysql_fetch_array($controlquery); extract($controlrow); $email = <<<END You or someone using your email address submitted a Lost Password application on the $gamename server, located at $gameurl. We have issued you a new password so you can log back into the game. Your new password is: $password Thanks for playing. END; $status = mymail($emailaddress, "$gamename Lost Password", $email); return $status; } kendine uyarla