Help with Master Detail records |
5/16/2007 02:18:24 | |
| PHPRunner General questions | ||
|
L
lambi author
Can someone please help!! I've been trying this out for 2 days but can't figure out what I've done wrong. |
||
|
J
|
Jane 5/16/2007 |
|
Hi, function AfterSuccessfulLogin() { global $conn; $str = "select account_no from MasterAccount where userid='".$_SESSION["UserID"]."'"; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $_SESSION["MasterAccount_masterkey1"] = $data["account_no"]; }
|
|
|
L
|
lambi author 5/16/2007 |
|
Thanks for the reply but I've not made myself clear. What I meant was that nothing was returned (blank page, no data shown) when I click on the account information menu. Both the master and detail table shared a common field which is username. Any suggestion on what I'm doing wrong? |
|
|
|
Sergey Kornilov admin 5/16/2007 |
|
Lambi, |
|