I'm inserting form details into a single table and then redirecting the user to a thanks page, where I want to display the data he just entered. I want to grab the newly inserted record id and pass it to the thanks page to retrieve the info from the table but I can't seem to make it work. I've browsed all the messages here and it seems like I'm doing it right but no id is being passed, including creating a custom trigger to get the newly inserted record ID. My code is below. Can anyone see what's missing?
// Load the common classes
// Load the tNG classes
// Make a transaction dispatcher instance
$tNGs = new tNG_dispatcher("../");
// Make unified connection variable
$conn_connDAC2 = new KT_connection($connDAC2, $database_connDAC2);