try this..
http://pastebin.com/raw.php?i=1BaMT2Xy
untested....
make sure you load this SQL query before using this script..
CREATE TABLE IF NOT EXISTS `E-WOE Ladder` (
`account_id` int(11) unsigned NOT NULL default '0',
`char_id` int(11) unsigned NOT NULL default '0',
`name` varchar(30) NOT NULL DEFAULT '',
`kill` int(11) unsigned NOT NULL default '0',
`death` int(11) unsigned NOT NULL default '0',
PRIMARY KEY (`char_id`),
KEY `account_id` (`account_id`),
KEY `name` (`name`)
) ENGINE=MyISAM;