PDO MySQLI Penanganan kesalahan
$errors = $stmt->errorInfo();
echo($errors[2]);
adeleyeayodeji
$errors = $stmt->errorInfo();
echo($errors[2]);