Posting a session variable into a field |
8/25/2007 8:33:07 PM |
PHPRunner General questions | |
2
2bluesfan author
Hi guys, I'd appreciate any help on this. |
|
A
|
alang 8/26/2007 |
Try following code in the Add page: Before Display event |
2
|
2bluesfan author 8/28/2007 |
Try following code in the Add page: Before Display event $smarty->assign("value_<your form field name>",$_SESSION["Chain"] );
|
![]() |
Alexey admin 8/28/2007 |
Hi, $rs = db_query( "select chain from users where `user name` = '".$_SESSION['UserID']."' ",$conn); |
2
|
2bluesfan author 8/28/2007 |
Thank you Alexey, that was it! |