You mean the insert into the telleractivity table is not taking place at all, but there are no errors and it redirects to the console.php page?
It looks like you didn't add an update server behavior to the mysqli version. It was hand coded on the mysql version, so you would have to add it to the mysqli version, it wouldn't convert automatically.
The equivalent to this code is missing from the mysqli version of the page entirely:
<?php
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "set_teller_status_form")) {
//If updating and not a first record and lhe last status was Busy updated the End Date of the last record
if($totalRows_TellerStatus>0){
//echo $row_TellerStatus['ACTIVITY_ID']." ".$row_TellerStatus['Status'];
//exit();
if($row_TellerStatus['Status']=="Busy"){
$updateSQL = sprintf("UPDATE telleractivity SET endDateTime=NOW() WHERE activityID=%s",
GetSQLValueString($row_TellerStatus['activityID'], "int"));
mysql_select_db($database_cardNumDS, $cardNumDS);
$Result1 = mysql_query($updateSQL, $cardNumDS) or die(mysql_error());
}
}
}
if(($_POST['Status']=="Unavailable") || ($_POST['Status']=="Available")){
$_POST['serviceID']="";
}
?>