PHP Classes
elePHPant
Icontem

File: sql.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of akash  >  Star rating package  >  sql.txt  >  Download  
File: sql.txt
Role: Auxiliary data
Content type: text/plain
Description: Rating table used for the rating system. Create this table in any database and rename the table name. Make the respective changes in the RatingManager.php constants also
Class: Star rating package
Process and show rating stars given by the user
Author: By
Last change:
Date: 7 years ago
Size: 244 bytes
 

Contents

Class file image Download
CREATE TABLE `items_ratings` (
  `ID` int(11) NOT NULL auto_increment,
  `item_id` int(11) NOT NULL,
  `rating` tinyint(2) NOT NULL,
  `rater_ip` varchar(20) NOT NULL,
  `rater_id` int(11) NOT NULL,
  PRIMARY KEY  (`ID`)
) ENGINE=MyISAM;