Francium PHP 5 Star Rating System: Record star ratings of items in a MySQL with AJAX

Recommend this page to a friend!
  Info   Example   Demos   View files (13)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 343 All time: 6,948 This week: 268
Version License PHP version Categories
fr-star 0.1The PHP License5.2PHP 5, Databases, Content management, A...
Description Author

This package can record star ratings of items in a MySQL with AJAX.

It can record in a MySQL database using PDO ratings associated to given items by given users.

The ratings can be added or updated depending on whether the user already rated the item.

The class can also check if the user already rated the item and generate HTML to display the given ratings or the stars to let the user click and set the ratings to be submitted to the server via AJAX requests.

Picture of Subin Siby
  Performance   Level  
Name: Subin Siby is available for providing paid consulting. Contact Subin Siby .
Classes: 5 packages by
Country: India India
Age: 20
All time rank: 50325 in India India
Week rank: 19 3 in India India
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Details

\Fr\Star

A 5 Star Rating System Created With PHP & JavaScript

Documentation & Usage

LICENSED Under Apache License, Version 2.0

  Files  
File Role Description
css (1 file)
img (2 files)
js (2 files)
ajax_rate.php Example JavaScript sends AJAX request to this file to submit rating.
config.php Conf. The database configuration is in this file.
Fr.star.php Class The Class
index.php Example An example of the usage of the class.
LICENSE Lic. Apache License
NOTICE Data Contributors
README.md Doc. Documentation
tables.sql Data SQL code to create the table required for the class.

  Files  /  css  
File Role Description
   Fr.star.css Data Stylesheet to design the star container

  Files  /  img  
File Role Description
   Fr-star.png Icon Image of a star
   Fr-star.svg Data Image of a star

  Files  /  js  
File Role Description
   Fr.star.js Data JavaScript library to implement rating system. Contains jQuery plugin too.
   rate.js Data An example file that shows the usage of the Fr.star JavaScript plugin.

 Version Control Unique User Downloads Download Rankings  
 100%
Total:343
This week:0
All time:6,948
This week:268

For more information send a message to info at phpclasses dot org.