Display Star Rating without voting
<p>I am a little stuck.</p>

<p>I have a Mysql database with items. Each item already has a corresponding rating (0-5).</p>

<p>Now, when I display the list of items, I want to convert the rating in stars.
They may not be clickable.</p>

<p>But how can I display rating stars for each rating?</p>

<p>Like:</p>

<pre><code>Item[1] Rating: 4 =&gt; display 4 stars
Item[2] Rating: 2 =&gt; display 2 stars
Item[3] Rating: 1 =&gt; display 1 star
and so on
</code></pre>

<p>I am calling the existing rating like this:</p>

<pre><code>php echo $item['Item']['rating']
</code></pre>
