Should i use try catch for every conn statements and do i need to set this every time during query execution
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
Can some one please tell me the better approach to execute queries using pdo in a better way with general error displaying to user