I have crated a form and the DML to update the data in a MySQL database. I have confirmed the data is coming over from the form however it is not getting saved/committed to the database. The user in the DB connection $db_elect has full privileges to the database. I have tried all of these with no luck
$db_elect->commit();
$sql_commit = mysqli_query($db_elect ,"COMMIT");
if ( !mysqli_commit($db_elect) )
{ $sql_commit = 'FAILED'; }
Here is the update statement. When it is ran I get no errors in the error_log file
$sql_result_update = mysqli_query( $db_elect
,"UPDATE campaign_positions
SET position_text = '$lv_position_text'
,position_actv = '$lv_position_actv'
,position_dt = '$lv_position_dt'
,position_title = '$lv_position_title'
,position_order = '$lv_position_order'
WHERE position_id = $lv_position_id");