use PDO to connect to db