summary refs log tree commit diff stats
path: root/admin/newPoll.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/newPoll.php')
-rw-r--r--admin/newPoll.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/newPoll.php b/admin/newPoll.php index 0373980..c924cd9 100644 --- a/admin/newPoll.php +++ b/admin/newPoll.php
@@ -83,6 +83,9 @@ if (isset($_GET['submit']))
83 83
84 $id = mysql_insert_id(); 84 $id = mysql_insert_id();
85 85
86 $cleardid = "TRUNCATE TABLE didpollalready";
87 $cleardid2 = mysql_query($cleardid);
88
86 $template->add('QUESTIONVALUE', $_POST['question']); 89 $template->add('QUESTIONVALUE', $_POST['question']);
87 $template->add('OPTION1VALUE', $_POST['option1']); 90 $template->add('OPTION1VALUE', $_POST['option1']);
88 $template->add('OPTION2VALUE', $_POST['option2']); 91 $template->add('OPTION2VALUE', $_POST['option2']);