Login   Register  
PHP Classes
elePHPant
Icontem

File: db.sql

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sudhir Chauhan  >  AJAX Star Rating  >  db.sql  >  Download  
File: db.sql
Role: Configuration script
Content type: text/plain
Description: sql file
Class: AJAX Star Rating
Rate content and update star ratings using AJAX
Author: By
Last change:
Date: 2010-02-06 10:07
Size: 514 bytes
 

Contents

Class file image Download
-- 
-- Table structure for table `ratings`
-- 
CREATE TABLE `ratings` (
  `id` varchar(11) NOT NULL,
  `total_votes` int(11) NOT NULL default '0',
  `total_value` int(11) NOT NULL default '0',
  `used_ips` longtext,
  PRIMARY KEY  (`id`)
);

INSERT INTO `ratings` (`id`, `total_votes`, `total_value`, `used_ips`) VALUES ('1', 8, 27, 'a:8:{i:0;s:9:"127.0.0.1";i:1;s:9:"127.0.0.1";i:2;s:9:"127.0.0.1";i:3;s:9:"127.0.0.1";i:4;s:9:"127.0.0.1";i:5;s:9:"127.0.0.1";i:6;s:9:"127.0.0.1";i:7;s:9:"127.0.0.1";}');