Changeset 582 for trunk/pages/banlist.php
- Timestamp:
- May 4, 2009, 9:38:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/banlist.php
r579 r582 26 26 $db->select_db($Config['Mangos']['DatabaseRealmd']); 27 27 28 $DbResult = $db->query(' select * from `account` where `last_ip` = "'.$ipcko.'" order by `last_login` desc limit3');28 $DbResult = $db->query('SELECT * FROM `account` WHERE `last_ip` = "'.$ipcko.'" ORDER BY `last_login` DESC LIMIT 3'); 29 29 while($DbRow = $DbResult->fetch_assoc()) 30 30 { 31 $i = $ $DbRow['username'];31 $i = $DbRow['username']; 32 32 echo($i.', '); 33 33 }
Note:
See TracChangeset
for help on using the changeset viewer.