Thanks Jason. I think I had always used that going from a results page to a details page, which is set up to pull through the ID to display the details based on the recordset.
But in this case there is no recordset on the AddNomination page, so didn't realise you could use it as simply there too.
One last question on this - my form action is:
<form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
And then the link to a NominationAdded page is in the php code at the top of the AddNomination page:
$ins_nominations->registerTrigger("END", "Trigger_Default_Redirect", 99, "NominationAdded.php");
What would be useful would be to pass the URL variable through again, so that on the NominationAdded page I can have a link back to the same Lodge to add another Nomination without finding the Lodge again.
But I'm not sure what the syntax would be, as it included some PHP within existing PHP, so not just:
$ins_nominations->registerTrigger("END", "Trigger_Default_Redirect", 99, "nominationAdded.php?LodgeID=echo($_GET['LodgeID'])");
I assume this must be possible, but not sure of the exact syntax?