Guest User

Untitled

a guest
Jul 17th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <?php
  2. public function CapLinkedToUsers($bytes){
  3. require("config.php");
  4.  
  5. $SQL = "SELECT username FROM custom_config WHERE (Variable = 'Monthly-Total-Bytes') AND (Value = '$bytes')";
  6. $result = mysql_query($SQL, $conn) or die("Unable to check how many ppl are linked to the cap" . mysql_error($conn));
  7.  
  8. $users = array();
  9. while($linked = mysql_fetch_array($result)){
  10. >> ADD TO THE ARRAY
  11. }
  12. }
  13. ?>
Add Comment
Please, Sign In to add comment