Get user email address from users table |
12/9/2008 8:00:01 PM |
PHPRunner General questions | |
U
Urnso author
I have a large form that passes from dept to dept. It keeps track of who originally entered it and also who was the last person to update a field. |
|
U
|
Urnso author 12/10/2008 |
[codebox]global $conn,$strTableName,$xt; |
U
|
Urnso author 12/10/2008 |
Ok I tried this in the Add Page Before Process. It doesn't work either. What am I missing. It seems like it should work!! |
J
|
Jane 12/11/2008 |
Hi, global $conn,$strTableName,$readonlyfields; $sql = "select UserEmail from rhusers where UserName='".$_SESSION["UserID"]."'"; $rs = db_query($sql,$conn); $data = db_fetch_array($rs); $readonlyfields["NotifyEmail"] = $data["UserEmail"]; |