Created
July 9, 2021 11:25
-
-
Save shiv122/db0d11fcead937d6428d2426c10a2e4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysqli_autocommit($conn, FALSE); | |
mysqli_query($conn, "UPDATE withdrawal_request SET STATUS='1',REMARK='$remark' WHERE ID=$id"); | |
mysqli_query($conn, "UPDATE wallet_transaction SET REMARK='$remark' WHERE SOURCE=$id"); | |
if (mysqli_commit($conn)) { | |
echo 'Accepted'; | |
} else { | |
echo "Error: " . $sql . "<br>" . mysqli_error($conn); | |
} | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment