Guest User

Untitled

a guest
Oct 23rd, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. <?php
  2. $con = mysqli_connect('localhost', 'root11', '', 'test');
  3. mysqli_set_charset($con, 'utf8');
  4.  
  5. if(mysqli_connect_errno()){
  6. echo 'Failed to connect to Mysql:'.mysql_connect_error();
  7. }
  8. ?>
Add Comment
Please, Sign In to add comment