cek query mysql berhasil atau gagal MySQL query was successful

http://stackoverflow.com/questions/11918797/how-to-check-if-a-mysql-query-was-successful
https://www.google.com/search?q=jika+query+gagal&ie=utf-8&oe=utf-8#q=if+mysql+error


$result = mysql_query($query);

if(mysql_errno()){
    echo "MySQL error ".mysql_errno().": "
         .mysql_error()."\n<br>When executing <br>\n$query\n<br>";
}

Subscribe to receive free email updates:

0 Response to "cek query mysql berhasil atau gagal MySQL query was successful"

Post a Comment