? |
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
|
? |
|
?Previous Message??|??Next Message
|
?Re: db variable in mail function |
Author:??(---.cpe.net.cable.roger)
Date:???07-14-03 06:23
would have been okay if you recognized that the format for your mail solution was off...
mail(to, subject, body, optional header(ie from)) is the specified format so the correct solution is:
while ($row = mysql_fetch_array($result)){
$email = $row[1];
mail($email, $subject", $body, "From: WHOEVER");
}
|
|
|
?Newer Topic??|??Older Topic
|
?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? |
|