Some people ask me question about how to implement my last star rating in multiple star rating, and here is the answer on how to implement it.
1. Upgrade latest table
Since you’ll need to add ‘id’ on multiple record then we need to upgrade the existing table. Here is the full sql
CREATE TABLE IF NOT EXISTS `vote` ( `id` int(11) NOT NULL auto_increment, `desc` varchar(50) NOT NULL, `counter` int(8) NOT NULL default '0', `value` int(8) NOT NULL default '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ; -- -- Dumping data for table `vote` -- INSERT INTO `vote` (`id`, `desc`, `counter`, `value`) VALUES (1, 'star - 1', 0, 0), (2, 'star - 2', 0,0);
2. CSS
We still can stylesheet from the previous post. No need to modify it. [...]


Recent Comments