Admin Driven Poll Scripts allows admin to enter poll,view,modify,delete Poll.
Steps to configure and get the poll working:
1) Open the config.php and change the following parameters according to your specifications.
Change the value of $host,$user,$passwd,$database to connect to mysql
2) Once done changing the config file run the createdb.php file
This creates the database called poll in your mysql database and dumps all the tables required. (2 tables)
Steps to create add the poll:
1) Run the admin.php to actually admin the poll Add the poll and set the number of answers for the same.
You can set the poll to active here.
2) Run the file show.php to see the poll frontend.
3) Change the style.css for your needs.
<---- Please run createdb.php once and then delete this it ---->
I know the code can be more better without functions but actually coded
using functions ..... and switch case (Specially for those who are
having a look at my code..... :)
File List:
poll/
0b
poll/admin.php
6Kb
poll/config.php
2Kb
poll/createdb.php
1Kb
poll/functions.php
5Kb
poll/pollresult.php
1Kb
poll/readme.txt
1Kb
poll/red.gif
48b
poll/show.php
2Kb
poll/style.css
3Kb
Similar code
PHP Event Calendar
(Popularity: ) : PHP Event Calendar is reusable PHP script extending the web site's functionality with event scheduler or news archive. Nice looking ... Interwebber PHP Webmail
(Popularity: ) : The PHP Interwebmail project is aimed at producing the finest PHP Webmail program available. At version 0.5.06, it is still ... Flexphpsite Pro
(Popularity: ) : Flexphpsite Pro is not only a CMS but can be used in most websites.Written in PHP +MySQL. Can add or ...