»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 01-31-2004, 08:00 PM   #1 (permalink)
Registered User
 
Join Date: Jan 2003
Location: Orange, Mass.
Posts: 490
Blazer06 is on a distinguished road
Send a message via AIM to Blazer06
simple poll

how could / would i go about creating a simple poll for somthing. the main thing is i want people to vote (no membership) and choose a group. and that group onl gets a certain amount of votes.

i have access to mysql, cgi, peral, and php.. though i dont really know how to use them


Blaze

Blazer06 is offline   Reply With Quote
Old 01-31-2004, 11:41 PM   #2 (permalink)
Registered User
 
Join Date: Nov 2001
Location: Central KS
Posts: 256
bwcc is on a distinguished road
You might want to start with some 'pre-made' scripts that may do the job for ya. They're also a good way to start learning the languages.

http://www.cgi-resources.com/Program...ey_and_Voting/

http://www.hotscripts.com
bwcc is offline   Reply With Quote
Old 01-31-2004, 11:46 PM   #3 (permalink)
Registered User
 
Join Date: Sep 2002
Posts: 265
Creosote is on a distinguished road
I made one from scratch with ASP.Net and SQL Server. The concept would be the same in any language:

You store the findings in a database, i.e., MySQL. When a user visits your site, if you don't find a cookie denoting that he has voted, you display some options and button for him or her to vote. After he votes, and for any with the cookie, you show the poll results instead.

For the results, I just made a couple images a few pixels in size. I sized images to display the results graphically based on the percentage of the total votes for each item.
Creosote is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 10:29 AM.