PHP PDO Compruebe si funcionó la ejecución

# Returns TRUE on success or FALSE on failure
$status = $STH->execute($params);

if ($status) {
   echo 'It worked!';
} else {
   echo 'It failed!';
}
CaptainKungen