# Returns TRUE on success or FALSE on failure $status = $STH->execute($params); if ($status) { echo 'It worked!'; } else { echo 'It failed!'; }