I would even be content using a form. Say I use the below form for each item on the page that I want users to rate, would I then need to create a different php file to store each individual rating?
<form method="post" action="store-rating.php">
<input type="hidden" name="item_id" value="cat photo 1">
<input type="select" name="rating">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
<input type="submit" value="Rate This">
</form>
So, in other words, would each individual form have a different action, i.e.
action="store-rating.php"
action="store-rating1.php"
action="store-rating2.php"
action="store-rating3.php"
etc.
???