Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- print "ZZZZZZZZZZZZZZZZZ";
- $query = "SELECT sum(hits) AS totalhits from stats where ip !='91.23.125.126'";
- $user="u707311";
- $password="4496";
- $db="d6066824";
- $mysqli = new mysqli('localhost',$user,$password,$db);
- print "YYYYYYYYYYY";
- $sth = $mysqli->prepare($query);
- $sth->bind_result($totalhits);
- $sth->execute();
- while($sth->fetch()){
- printf("Hit Counter:%s",$totalhits);}
- $sth->close();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement