Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require 'config/config.php';
- ini_set('display_errors', 1);
- error_reporting(E_ALL);
- mysql_connect($hostname, $username, $password) or
- die("DB connection failed - " . mysql_error());
- mysql_select_db($database) or die ("DB select failed - " . mysql_error());
- $rt = mysql_query("SELECT unique_id FROM $survivor_table ORDER BY zombie_kills LIMIT 10" ) or die(mysql_error());
- $rows = array();
- while ($rows = mysql_fetch_array($rt)) {
- echo $rows;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement