coeragames

Untitled

Apr 13th, 2021
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <?php
  2. class Actions {
  3. public function login($email, $pass) {
  4. try {
  5. $bdd = new PDO('mysql:host=localhost;dbname=test', 'root', '');
  6. }
  7. catch(Exeption $e) {
  8. die('Erreur lors de la connection à MySql.');
  9. }
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment