PHP sending mail to MySQL users with html checkbox
there is my mysql query:
$host="localhost";
$kullaniciadi="user";
$sifre="pass";
$db="db";
mysql_connect("$host","$kullaniciadi","$sifre") or die ("Sunucuya
baglanilamadi");
mysql_select_db("$db") or die ("Veri tabanina baglanilamadi");
mysql_query("SET NAMES 'UTF8'");
mysql_query("SET character_set_connection = 'UTF8'");
mysql_query("SET character_set_client = 'UTF8'");
mysql_query("SET character_set_results = 'UTF8'");
$aliyoruz=mysql_query("SELECT * FROM tbl_users ");
while ($bilgiler=mysql_fetch_array($aliyoruz)) {
echo "Kullanici Adi: $bilgiler[user]<br />";
echo "Adi: $bilgiler[name]<br />";
echo "Email: $bilgiler[email]<br />";
}
I can get the user mail addresses and want to use this with mail sending
function. There should be a text area and check boxes but i don't know
exactly how to do this.
Needed function : send written text in text box to checked mail addresses
thanks.
No comments:
Post a Comment