PHP Classes

File: tables.sql

Recommend this page to a friend!
  Classes of Subin Siby   Francium PHP 5 Star Rating System   tables.sql   Download  
File: tables.sql
Role: Auxiliary data
Content type: text/plain
Description: SQL code to create the table required for the class.
Class: Francium PHP 5 Star Rating System
Record star ratings of items in a MySQL with AJAX
Author: By
Last change:
Date: 8 years ago
Size: 251 bytes


Class file image Download
CREATE TABLE IF NOT EXISTS `Fr_star` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `rate_id` varchar(40) NOT NULL, `user_id` varchar(40) NOT NULL, `rate` float NOT NULL, `rated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) )