J
|
Jane 8/22/2006 |
Andy, function AfterSuccessfulLogin() { //** Custom code **** // put your custom code here global $conn; $strSQL = "select name, lingregister_date, lingupdate_date, mothertongue from ling_linguists where FieldName='".$_SESSION["UserID"]."'"; $rs = db_query($strSQL,$conn); $data=db_fetch_array($rs); $_SESSION["var_name"]= $data["name"]; $_SESSION["var_regdate"]= $data["lingregister_date"]; $_SESSION["var_updatedate"]= $data["lingupdate_date"]; $_SESSION["var_mothertongue"]= $data["mothertongue"]; //** Redirect to another page **** header("Location: menu.php"); exit(); }
|
A
|
andyjames author 8/22/2006 |
Hi Jane, |