PHP : Mengecek error mysqli_query

Oleh : Abah Razi

بسم الله الرحمن الرحيم

Kita dapat mengecek error yang dihasilkan oleh mysqli_query dengan menempatkan kode berikut dibawahnya


if (!$check1_res) {
    printf("Error: %s\n", mysqli_error($con));
    exit();
}

About Reza Ervani 426 Articles
Adalah pendiri programming.rezaervani.com -

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.