i tried to check the result from database and get the result back... after that use mail method.. the problem is it will mail for me many by once time, how can i solve it??
my coding like:
$query = "select username from data where username=$_GET[name]";
if(mysql_query($query)) {
echo "Your username was found";
} else {
mail("xx@r3mixed.com", $subject, $content, $from);
}