alert('Error: Both mobile numbers should be different!');";
} else {
// Update Query
$updateQuery = "UPDATE footer_content SET
about_us = ?,
branch1 = ?,
branch2 = ?,
branch3 = ?,
mobile1 = ?,
mobile2 = ?
WHERE id = 1";
$stmt = mysqli_prepare($conn, $updateQuery);
mysqli_stmt_bind_param($stmt, "ssssss", $about_us, $branch1, $branch2, $branch3, $mobile1, $mobile2);
if (mysqli_stmt_execute($stmt)) {
echo "";
} else {
echo "";
}
mysqli_stmt_close($stmt);
}
}
?>