This topic is locked

E-mail to logged in user

9/7/2009 10:29:53 AM
PHPRunner General questions
M
mmponline author

I used to use the following code to send a e-mail to the logged in user.
{

global $conn;

//select user email from LoginTable

$str = "select * from login where UserName = '".$_SESSION["UserID"]."'";

$rs = db_query($str,$conn);

$data = db_fetch_array($rs);

$useremail = $data["email"];

//** Send email with new data ****
It does not seem to work anymore. How would this be done in the new version of PHPRunner.