Parašė cario· 2008 Rugp. 28 10:08:05
#26
Eik i
phpmyadmin ir ten ivykdyk sql uzklausa:
CREATE TABLE `PREFIXAS_user_ratings` (
`rated_id` BIGINT( 20 ) NOT NULL AUTO_INCREMENT ,
`rate_user` BIGINT( 20 ) NOT NULL ,
`rate_subject` BIGINT( 20 ) NOT NULL ,
`rate_opt` ENUM( '1', '2', '3', '4', '5', '6', '7', '8', '9', '10' ) NOT NULL ,
`rate_date` BIGINT( 20 ) NOT NULL ,
`rate_ip` VARCHAR( 255 ) NOT NULL ,
PRIMARY KEY (`rated_id`)
) TYPE = innodb
Arba pridetinuose puslapiuose:
<?php
CREATE TABLE `PREFIXAS_user_ratings` (
`rated_id` BIGINT( 20 ) NOT NULL AUTO_INCREMENT ,
`rate_user` BIGINT( 20 ) NOT NULL ,
`rate_subject` BIGINT( 20 ) NOT NULL ,
`rate_opt` ENUM( '1', '2', '3', '4', '5', '6', '7', '8', '9', '10' ) NOT NULL ,
`rate_date` BIGINT( 20 ) NOT NULL ,
`rate_ip` VARCHAR( 255 ) NOT NULL ,
PRIMARY KEY (`rated_id`)
) TYPE = innodb
?>
Redagavo cario· 2008 Rugp. 28 10:08:00