This topic is locked
[SOLVED]

 PayPal Template

12/29/2009 9:04:09 AM
PHPRunner General questions
F
futo author

hello,
i'am using PayPal template, and i can set up the session variable
// Add_page - BEFORE PROCES

global $conn;

$str = "select email from ppusers where userid='".$_SESSION["UserID"]."'";

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

$data = db_fetch_array($rs);

$_SESSION["email"] = $data["email"];

// END
and in the field i want to display results i store this: $_SESSION["email"]
PHPRUNNER 5.1 2503

THANKS

Sergey Kornilov admin 12/29/2009

Your code seems legit. I recommend to print some data using echo command i.e. SQL query to see what's happening there.
You can also to post it to Demo Account and contact support team.