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>";
}
$result = mysql_query($query);
if(mysql_errno()){
echo "MySQL error ".mysql_errno().": "
.mysql_error()."\n<br>When executing <br>\n$query\n<br>";
}
0 Response to "cek query mysql berhasil atau gagal MySQL query was successful"
Post a Comment