Forum Moderators: open

Message Too Old, No Replies

voting system in html or php

Iam trying to design a website

         

Usama

10:07 am on May 15, 2005 (gmt 0)

10+ Year Member



Hi there am a new student trying to design a simple website it`s not commercial in anyway but reflecting a company that provides holidays to customers.
Got just sketchy ideas of what i want it to look like and have
1.it should have some interactive features
2.a FAQ page link
3.a voting system/comment system to identify favourite holidays ( just a few say 3 holiday destinations)(i have seen benihana`s posting of a similar query dated nov 19 2003 but i need more than the guidelines he was given...a liitle more detail)
4.discussion forums
5.a guest book
I want to Design and build a website using (at least) PHP and HTML (or XML

Also it should be reasonably accessible to disabled users (WAI- or Bobby- compliance preferred) and most popular modern Web browsers;

thank you ..will be so grateful since i have got today off and would like to have go at this before the end of the day
cheers Usama

tedster

4:19 pm on May 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forums, Usama.

Here's the thread started by benihana on the topic of a voting system:
[webmasterworld.com...]

Note that the thread is in the PHP forum. You'll find you get the best help if you ask a specific question in the forum that handles the technology related to your question, so you might want to begin a thread in PHP for any more server side details you need.

So, of course, ask any specific html and browser related questions here in the html forum.

Usama

10:55 am on May 16, 2005 (gmt 0)

10+ Year Member



Thank you Tedster
i wanted a few ideas or code i would use.it doesnot matter if it is done in php or html

My queston is it possible to be done in html?
if yes what would be the probable code for it?

BlobFisk

11:59 am on May 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Usama,

You cannot create a poll feature using HTML alone. You need to use a backend script of some sort. Why a backend script? To store the votes in a text file or DB of some sort.

Usama

2:34 pm on May 16, 2005 (gmt 0)

10+ Year Member



Thank you
So does it mean I should create some bit of database is SQL and tables in ths daabase to hold the data
If yes what tables ...code please?

tedster

7:39 pm on May 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Usama, you can find basic voting systems on sites like hotscripts and then modify them to suit your particular needs. Try a google search for something like "voting system script".

The structure of your data will depend completely on your needs and what technologies your server supports. But at this point the question has moved far beyond an HTML or Browser question - so if you run into questions as you learn to put your system into action, you can find help in one of our server side forums.

Emilio

10:55 am on May 19, 2005 (gmt 0)

10+ Year Member



I have a voting script on of my sites. I had the same question you are having just a few days ago.

Do a search for "voting script php" or anything like that. download it. it will come with instructions. or just go to hotscriptsdotcom and search there

you'll most likely need to create a sql database. do that through your hosting control panel if it allows you.

follow the instructions carefully