1) I am adding following code to line number 13 as
<div id='showrateimg'>
2) I am adding follwing code to line number 57
</div></td>
3) I am rewriting your success function
success: function() {
$('#div_show').text('You have rated ' + movie_title_s + ' at a ' + movie_rating_s).show('fast');
//additional code
$("#showrateimg").html(" ");
for(i=1;i<=movie_rating_s;i++)
{
$("#showrateimg").append("<img src='beer_mug_finish.jpg' alt='' width='50' height='50'>");
}
},