Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

ASP Poll Script....

Thread Tools
 
Search this Thread
 
Old 30 March 2004, 03:51 PM
  #1  
Steaming Wizard
Scooby Regular
Thread Starter
 
Steaming Wizard's Avatar
 
Join Date: Oct 2003
Location: sunny sussex
Posts: 9,142
Likes: 0
Received 0 Likes on 0 Posts
Question ASP Poll Script....

Hey folks.

I have just spent an afternoon searching for a freeware ASP poll srcipt that I can use for one of the sites I administer at work.

The problem is, I need it to be able to handle 57, yes 57 different responses. The idea is, there are 57 photos. Visitors to the site need to be able to vote for their favourite, and once voted, be redirected to a results page, with hopefully a graph showing how many votes for each.

Any suggestions will be gratefully received.

Cheers

Brian
Old 30 March 2004, 04:04 PM
  #2  
Dream Weaver
Scooby Regular
 
Dream Weaver's Avatar
 
Join Date: Feb 2000
Location: Lancashire
Posts: 9,844
Received 0 Likes on 0 Posts
Default

3 tables - pictures, users, results

pictures holds each pics unique ID and URL.
users holds their email address, username etc so they can only vote once.
results holds the picture ID and the number of votes.

Each time someone votes, update the results table and increment the votes by 1 for that pic ID. Then flag that the user has already voted.

Then to interrogate the data, simply select the info from the results and pictures table. Your graph can be represented using 1x1 pixel gifs with the image values (W & H) based on the results value for that image.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Darrell@Scoobyworx
Trader Announcements
26
30 January 2024 01:27 PM
Frizzle-Dee
Essex Subaru Owners Club
13
09 March 2019 07:35 PM
Frizzle-Dee
Essex Subaru Owners Club
13
01 December 2015 09:37 AM
mega_stream
Non Scooby Related
2
09 August 2001 07:51 PM
NeilT
ScoobyNet General
2
05 July 2001 12:53 AM



Quick Reply: ASP Poll Script....



All times are GMT +1. The time now is 02:40 AM.