Changeset 31 for measure_scripts/wow.php
- Timestamp:
- May 19, 2008, 7:25:54 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
measure_scripts/wow.php
r30 r31 51 51 52 52 $Database->select_db('characters'); 53 $DbResult = $Database->query('SELECT COUNT(*) FROM `character `');53 $DbResult = $Database->query('SELECT COUNT(*) FROM `characters`'); 54 54 $Row = $DbResult->fetch_array(); 55 55 return($Row[0]); … … 60 60 global $Database; 61 61 62 $Database->select_db(' wow');63 $DbResult = $Database->query('SELECT COUNT(*) FROM mangos_restart');62 $Database->select_db('mangos'); 63 $DbResult = $Database->query('SELECT COUNT(*) FROM uptime'); 64 64 $Row = $DbResult->fetch_array(); 65 65 return($Row[0]);
Note:
See TracChangeset
for help on using the changeset viewer.