I've been trying to add a poll on the front page of my website: http://www.chamillionairechat.com
I have added and uploaded all the coded files what came in this zip file which I downloaded from here
But for some reason It won't show 🙁
I have attached the poll.php file
Please help me try and get this to show on my webpage
Thanks alot
Also here is what I have put in the MYSQL Database:
CREATE TABLE `poll` (
`poll_id` int(11) NOT NULL auto_increment,
`poll_name` varchar(30) NOT NULL default '',
`choice1` int(11) NOT NULL default '0',
`choice2` int(11) NOT NULL default '0',
`choice3` int(11) NOT NULL default '0',
`choice4` int(11) NOT NULL default '0',
`choice5` int(11) NOT NULL default '0',
`choice1_name` varchar(25) NOT NULL default '',
`choice2_name` varchar(25) NOT NULL default '',
`choice3_name` varchar(25) NOT NULL default '',
`choice4_name` varchar(25) NOT NULL default '',
`choice5_name` varchar(25) NOT NULL default '',
`choice1_name_long` text NOT NULL,
`choice2_name_long` text NOT NULL,
`choice3_name_long` text NOT NULL,
`choice4_name_long` text NOT NULL,
`choice5_name_long` text NOT NULL,
`question` text NOT NULL,
`poll_start` varchar(10) NOT NULL default '',
`poll_end` varchar(10) NOT NULL default '',
PRIMARY KEY (`poll_id`)
) TYPE=MyISAM AUTO_INCREMENT=3 ;# MySQL returned an empty result set (i.e. zero rows).
--
-- Dumping data for table `poll`
--
INSERT INTO `poll` VALUES (1, 'my_first_poll', 0, 0, 0, 0, 0, 'Yes', 'Maybe', 'Not Sure', 'Maybe Not', 'No', 'Absolutely!', 'Yes, I guess.', 'Not sure.', 'I have doubts.', 'No, this poll sucks.', 'How do you like this poll software?', '03/23/2006', '04/23/2006');# Affected rows: 1
INSERT INTO `poll` VALUES (2, 'my_second_poll', 0, 0, 0, 0, 0, 'True', 'False', '', '', '', '', 'It is True.', 'It is not True.', '', '', 'This statement is False. Consider.', '03/23/2006', '03/23/2009');# Affected rows: 1
COMMIT;# MySQL returned an empty result set (i.e. zero rows).
and
CREATE TABLE `poll_ip` (
`ip_id` int(11) NOT NULL auto_increment,
`ip` varchar(18) NOT NULL default '',
`ip_inc` int(11) NOT NULL default '0',
PRIMARY KEY (`ip_id`),
UNIQUE KEY `ip` (`ip`)
) TYPE=MyISAM AUTO_INCREMENT=26 ;