You will still need Daves code (or equivalent).
If you are using Daves code you need to put my code between your insert / update behaviour and Daves code.
So with Daves code you would use
<?php
if (isset($_POST["BT_Add"])) { // Trigger assuming that your submit button is called BT_Add
if ($_POST['StatusActiveDate'] != '') {
$_SESSION['StatusActiveDate'] = i8_formatUKDateMySQL($_POST['StatusActiveDate']);
} else {
$_SESSION['StatusActiveDate'] = Null;
}
}
?>
And then the values that you would pass to the database are stored in the Session variables.
Cheers
Ian