Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Require the configurations
- require_once('config.php'); // tilpas til stien til dine DB oplysninger
- // Require the PDO class
- require_once('myPDO.php'); // tilpas til stien til dine DB oplysninger
- try {
- // Start PDO
- $pdo = new myPDO();
- } catch (Exception $e) {
- // Er der noget der går galt findes alle oplysninger i variablen $e
- echo $e->getMessage();
- }
Advertisement
Add Comment
Please, Sign In to add comment