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.