Guest User

Untitled

a guest
Oct 17th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. <?php
  2. $user='test';
  3. $password='test';
  4. $database='test';
  5. $host='localhost';
  6. $link = mysqli($host, $user, $password, $database) or die (mysqli_error($link));
  7. $q="select * from workers limit 1";
  8. $result=mysqli_query($link,$q);
  9. echo $result;
  10. ?>
Add Comment
Please, Sign In to add comment