$_SESSION variables in header.php (3.1 143) |
9/6/2006 9:22:11 AM |
PHPRunner General questions | |
F
francesco author
Hi |
|
J
|
Jane 9/7/2006 |
Francesco, global $strTableName; echo $strTableName; echo $_SESSION[$strTableName."_masterkey1"]; |
F
|
francesco author 9/8/2006 |
Francesco, use following code to pass master key on the header.php page:
|
J
|
Jane 9/8/2006 |
Francesco, |
F
|
francesco author 9/8/2006 |
Francesco, header and footer files are called after definition of all session variables. So you can use $_SESSION variables in the header.php file. Please note that $_SESSION[$strTableName."_masterkey1"] variable is defined only when you proceed to the detail table from master table.
smarty-->display("table_name_list.htm")
<?php
|
J
|
Jane 9/11/2006 |
Francesco, |