Guest User

Untitled

a guest
Oct 20th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <?php
  2.  
  3. abstract class bdd
  4. {
  5. protected $ip;
  6. protected $port;
  7. protected $user;
  8. protected $password;
  9. protected $dbname;
  10.  
  11. public function __construct()
  12. {
  13. $this->ip = NULL;
  14. $this->port = NULL;
  15. $this->user = NULL;
  16. $this->password = NULL;
  17. $this->dbname = NULL;
  18. }
  19.  
  20. abstract public function connexion();
  21. abstract public function requete();
  22. abstract private function deconnexion();
  23. abstract private function selection_bdd();
  24.  
  25. }
  26.  
  27. ?>
Add Comment
Please, Sign In to add comment