stars
Date: 03/03/07
(PHP Community) Keywords: php, database
I'm trying to edit this star rating system...
http://www.masugadesign.com/the-lab/scripts/unobtrusive-ajax-star-rating-bar/
I've got it working as it should, it wasn't that hard. Now I want to edit it to mesh into my site.
This is what actually makes the stars show up on the page.. rating_bar('1',5);
The 1 is the row on the database and the 5 is how many stars you want, easy enough.
However, I want the 1 to change ... rating_bar('$x',5); Doesn't work.
I'd like http://www.site.com/gallery.php?id=30 to do rating_bar('30',5);
Help! Thanks.
Source: http://community.livejournal.com/php/546936.html