Hey guys, i’m having trouble understanding how to use CStarRating especially how to set up the database table. can someone please write a guide on how to set it up?
Hey guys, i’m having trouble understanding how to use CStarRating especially how to set up the database table. can someone please write a guide on how to set it up?
CStarRating is just a wrap for jquery star rating plugin.
All the rest depends on your application’s structure.
yes i know that, but what i don’t get is how to set up the database table. No guides or posts (to my knowledge) explains how to create that.
Once again: it depends on your application.
For example, if you have users that can rate articles, then you can create table containing userId, articleId and rating.
And so on.