odd results using rating plugin

odd results using rating plugin

Hi,

I use a for loop to generate my stars. I want them split into four so I use

  1. class="star {split:4}"

I want 5 stars, so I need 20 loops (4splits * 5stars = 20). When it hits 17, it echo's

  1.  checked="checked"

However, in the browser, my script displays 30 stars with 25 and a quarter stars highlighted!

Here's my line in PHP

  1. <input type="radio" class="star {split:4}" disabled="disabled" <?php echo $i == $row['rating'] ? 'checked="checked"' : "" ?>/>

Also, I do have the metadata plugin.