?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?Re: db variable in mail function
Author:??(---.bluecom.no)
Date:???07-14-03 05:46

Add the mail function in your WHILE statment.
Eg.
If your table looks something like this:
id - mail - field3 - field4
Then the mail address is the second one in the array, since arrays uses [0] and up - the e-mail will be in $row[1]

while ($row = mysql_fetch_array($result)){
$email = $row[1];
mail ("HERE IS MY PROBLEM", "$subject", "$email", "From: WHOEVER");
}

?Topics Author? Date
?db variable in mail function??new
Derrick 07-14-03 03:02?
?Re: db variable in mail function??new
? 07-14-03 05:46?
?Re: db variable in mail function??new
bastien 07-14-03 06:23?
?Re: db variable in mail function??new
Derrick 07-21-03 07:39?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
????

Provided By
Phorum