121
Mods & Plugins (Releases & Support) / Re: [MOD] Votes saved in DB
« on: August 12, 2006, 09:25:48 PM »
That could be the mistake...
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
[qcode]CREATE TABLE `4images_voted` (
`id` mediumint( NOT NULL auto_increment,
`user_id` mediumint( unsigned NOT NULL default '0',
`image_id` mediumint( unsigned NOT NULL default '0',
`vote` int(2) unsigned NOT NULL default '0',
`date` int(11) NOT NULL default '0',
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
KEY `image_id` (`image_id`)
) ENGINE=MyISAM;[/qcode]