Advertisement
Guest User

asdasdasdasdasdasdasd

a guest
Apr 12th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. <?php
  2. function Connect(){
  3. $username = "ziembajakub";
  4. $password = "ziembaj";
  5. $host = "localhost";
  6. $dbName = "ziembajakub";
  7.  
  8. $con = mysqli_connect($host,$username,$password,$dbName);
  9. if(!$con){
  10. echo "Error: ".mysqli_error($con);
  11. }
  12. return $con;
  13. }
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement