So I've been trying to change my code to any other ways that can fit but nothing happened... I want to change status_data_user
to be nonactive from active but it cannot works.. on my other delete codes is working without any troubles.
I've been changing it to
$hapus = mysqli_query($conn, "UPDATE tb_user SET status_data_user='$status_data_user',created_at='$created_at', updated_at='$updated_at' WHERE id_user='$id_user'");
$x="UPDATE tb_user SET status_data_user='$status_data_user',created_at='$created_at', updated_at='$updated_at' WHERE id_user='$id_user'";
$hapus = mysqli_query($conn, $x);