J
|
Jane 1/29/2007 |
Stefan,
$mastertable=postvalue("mastertable"); if($mastertable!="") { $_SESSION[$strTableName."_mastertable"]=$mastertable; // copy keys to session $i=1; while(isset($_REQUEST["masterkey".$i])) { $_SESSION[$strTableName."_masterkey".$i]=$_REQUEST["masterkey".$i]; $i++; } } else $mastertable=$_SESSION[$strTableName."_mastertable"]; // display master table info $masterkeys=array(); $smarty->assign("showmasterfile","empty.htm"); if($mastertable=="TableName1") { // include proper masterlist.php code include("include/TableName1_masterlist.php"); $masterkeys[]=@$_SESSION[$strTableName."_masterkey1"]; DisplayMasterTableInfo("TableName2", $masterkeys); $smarty->assign("showmasterfile","TableName1_masterlist.htm"); }
|
S
|
smaris author 1/29/2007 |
Great! Tnx.... |
J
|
Jane 1/29/2007 |
Yes, all changes will be moved when you rebuild your pages. |
N
|
nanohex 1/29/2007 |
Hopefully we will have more event code then PHPRunner will maintain the custom code. |