i dunno how to send the email to all the users have their respective emails in table...
can u tell me how???
suppose i have
name email
------- --------
ram ram@hotmail.com
sita sita@hotmail.com
hari hari@hotmail.com
gita gita@hotmail.com
i wanna send message to this users all at once.....
can anybody help me....
sending message to all the emails listed in the table
Moderator: General Moderators
What kind of table ? Database table ot HTML Table ?
If its db table then just query it and from the results,
http://in2.php.net/manual/en/function.mail.php
If its db table then just query it and from the results,
Code: Select all
$row=mysql_fetch_assoc($res)
mail($rowї'email'],$subject,$message,$headers)- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact: