Advertisement
Sergiovan

Untitled

Jan 1st, 2015
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. $con = mysqli_connect("localhost", "root", "", "sergiovan.me");
  2.  
  3. if(mysqli_connect_errno()){
  4.     echo "Epic fail because of " . mysqli_connect_error();
  5. }
  6.  
  7.     $query = "SELECT * FROM `people` WHERE SteamId = " . $id;
  8.     $result = mysqli_query($con, $query);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement