Star Rating Script

liunx

Guest
I want to install a script so users can rate the movies I reviewed. The script I found makes sense but I don't know how to do something.<br /><br />The first step is easy: creating a table for the ratings. Each one will get its own id to go along with the associated item (in my case, review). Ok, what I want to do is use my review id as the id for the rating (so all I have to do is have it call the $id variable I've already set up). How can I copy every review id (I have a dvd reviews table) into the ratings id?<br /><br />BTW, in case its important, there are a total of 4 columns in the ratings table: id, total_votes (default 0), total_value (default 0) and used_ips<br /><br />After that, I think it should be easy (hopefully) as all I have to do is place the appropriate code and direct the javascript paths and such...<!--content-->
Ok, found the right SQL format and got it done. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
Sorry you received no help but glad you sorted it out. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
 
Top