Changeset 30 for measure_scripts/wow.php
- Timestamp:
- Feb 13, 2008, 2:24:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
measure_scripts/wow.php
r27 r30 10 10 global $Database; 11 11 12 $Database->select_db('realmd'); 12 13 $DbResult = $Database->query('SELECT COUNT(*) FROM account WHERE online=1'); 13 14 $Row = $DbResult->fetch_array(); … … 29 30 global $Database; 30 31 32 $Database->select_db('realmd'); 31 33 $DbResult = $Database->query('SELECT COUNT(*) FROM account'); 32 34 $Row = $DbResult->fetch_array(); … … 34 36 } 35 37 36 function WoWGuild ()38 function WoWGuildCount() 37 39 { 38 40 global $Database; 39 41 42 $Database->select_db('characters'); 40 43 $DbResult = $Database->query('SELECT COUNT(*) FROM guild'); 41 44 $Row = $DbResult->fetch_array(); … … 43 46 } 44 47 45 function WoWCharacter ()48 function WoWCharacterCount() 46 49 { 47 50 global $Database;
Note:
See TracChangeset
for help on using the changeset viewer.