Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.41 KB | None | 0 0
  1. <?php
  2. print "ZZZZZZZZZZZZZZZZZ";
  3. $query = "SELECT sum(hits) AS totalhits from stats where ip !='91.23.125.126'";
  4. $user="u707311";
  5. $password="4496";
  6. $db="d6066824";
  7. $mysqli = new mysqli('localhost',$user,$password,$db);
  8. print "YYYYYYYYYYY";
  9.  
  10. $sth = $mysqli->prepare($query);
  11. $sth->bind_result($totalhits);
  12. $sth->execute();
  13.  
  14.  
  15. while($sth->fetch()){
  16.     printf("Hit Counter:%s",$totalhits);}
  17. $sth->close();
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement