pdo turn on errors

Solutions on MaxInterview for pdo turn on errors by the best coders in the world

showing results for - "pdo turn on errors"
Francesco
08 Apr 2016
1$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);