- Jan 13, 2020
- 965
- 959
- 93
Good. If you share full webhook code then this will help to others. Remove sensitive information and share it.Thank you sir, now my code is running now for update database
PHP:if($message == $billername){ $sql = "UPDATE biller SET status='Disable' WHERE company_code = $message"; if (mysqli_query($conn, $sql)) { $respon = ["text" => "Disable Sukses"]; } else { $respon = ["text" => "Error updating record: " . mysqli_error($conn)]; } $conn->close(); }
by the way do you know how to make newline on message, becauase i use \n \\n not working