![]() |
Alexey admin 9/14/2007 |
Stephan, mail($adminemail, $subject, $message,"From: mmp@mmponline.co.za"); if($adminemail!=$useremail) mail($useremail, $subject, $message, "From: mmp@mmponline.co.za"); |
M
|
mmponline author 9/14/2007 |
I've done as said but then only receives the admin e-mail. The usermail is not sent. What did I do wrong.? //select user email from LoginTable |
![]() |
Alexey admin 9/14/2007 |
Stephan, echo $str; command. |
M
|
mmponline author 9/14/2007 |
I'm not sure how to do this. Tried to add it at the end of the code, but nothing happens. Still only sends the admin mail. |
![]() |
Sergey Kornilov admin 9/15/2007 |
//select user email from LoginTable $str = "select * from login where UserName = '".$values["LoginID"]."'"; echo $str; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $useremail = $data["email"]; |
M
|
mmponline author 2/7/2008 |
Dropped this for some time, but it is not resolved yet. I get the following error message: |
J
|
Jane 2/8/2008 |
Stephan, //select user email from LoginTable global $conn; $str = "select * from login where UserName = '".$values["LoginID"]."'"; echo $str; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $useremail = $data["email"];
|