Advertisement
Guest User

Untitled

a guest
Aug 14th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.46 KB | None | 0 0
  1. <?php
  2.  
  3. ini_set('display_errors',1);
  4. error_reporting(E_ALL|E_STRICT);
  5.  
  6. $host = '********';
  7. $user = '********';
  8. $pass = '********';
  9. $db   = '********';
  10.  
  11. mysql_connect($host, $user, $pass);
  12. mysql_select_db($db);
  13.    
  14.     $sql = "SELECT * FROM members WHERE id = 1 ";
  15.     $result = mysql_query($sql);
  16.     $return = mysql_fetch_array($result);
  17.  
  18.     if($return['builds'] > 0);
  19. {
  20.     echo "youve got builds" ;
  21. }
  22.  
  23.     else
  24. {
  25.     echo "fuck off you faggot";
  26. }
  27. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement