addTransaction($customTransaction); // Register triggers $customTransaction->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "GET", "id"); $customTransaction->registerTrigger("END", "Trigger_Default_Redirect", 99, $page); $customTransaction->registerTrigger("AFTER", "Trigger_Custom", 50); // Add columns // End of custom transaction instance // Execute all the registered transactions $tNGs->executeTransactions(); // Get the transaction recordset $rscustom = $tNGs->getRecordset("custom"); $row_rscustom = mysql_fetch_assoc($rscustom); $totalRows_rscustom = mysql_num_rows($rscustom); ?>