Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Actions {
- public function login($email, $pass) {
- try {
- $bdd = new PDO('mysql:host=localhost;dbname=test', 'root', '');
- }
- catch(Exeption $e) {
- die('Erreur lors de la connection à MySql.');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment