PHP : Mengecek error mysqli_query

Oleh : Abah Razi

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

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

[code language=”php”]

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

[/code]

About Reza Ervani 425 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.