Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. <?php
  2.  
  3. ...
  4.  
  5. $connection1 = mysqli_connect($host1, $user1, $pass1, $db1);
  6. $connection2 = mysqli_connect($host2, $user2, $pass2, $db2);
  7. $connection3 = mysqli_connect($host3, $user3, $pass3, $db3);
  8.  
  9. $repository1 = new MyRepository($connection1);
  10. $repository2 = new MyRepository($connection2);
  11. $repository3 = new MyRepository($connection3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement