Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- public function CapLinkedToUsers($bytes){
- require("config.php");
- $SQL = "SELECT UserName FROM custom_config WHERE (Variable = 'Monthly-Total-Bytes') AND (Value = '$bytes')";
- $result = mysql_query($SQL, $conn) or die("Unable to check how many ppl are linked to the cap" . mysql_error($conn));
- $users = array();
- while($linked = mysql_fetch_array($result)){
- $users[] = $linked['UserName'];
- }
- return $users;
- }
- ?>
Add Comment
Please, Sign In to add comment