Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function Connect(){
- $username = "ziembajakub";
- $password = "ziembaj";
- $host = "localhost";
- $dbName = "ziembajakub";
- $con = mysqli_connect($host,$username,$password,$dbName);
- if(!$con){
- echo "Error: ".mysqli_error($con);
- }
- return $con;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement