try{ //PDO CONNECT DB, $db }catch(PDOException $e){die(\"ERROR\"));}
I have a query user PDO connect to database.
I use try & catch, m
No, it is not necessary in php. When your php process finished, the connection will be closed too.