então mica aqui:
http://www.espelhodigital.com/pub/votos/com o source por baixo!
pormenor: só agora vi! se vais usar texto, então tens que usar uma tabela assim:
CREATE TABLE `votos` (
`id` int(9) NOT NULL auto_increment,
`ip` varchar(20) NOT NULL default '',
`voto` varchar(20) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;