[thelist] Looking for a poll

Manish Sharma msharma at satyam.net.in
Sun Jul 29 10:32:03 CDT 2001


Gary, Would you be prograaming yourseelf? Which platform? Anycase you would
need server-side scripting with database connectivity (preferably). Use PHP,
ASP, CGI or JSP as language and MySQL, mSQL, Oracle or any other RDBMS.

> One vote per person, ever, per poll
Do the users need to log in at the site. If so you can implement "ever"
since the information that they have already voted can be stored in the
database. If you don't provide logins, you can use the IP address of users
to determine "uniqueness". (Remember, ISP provide a random IP address to the
user whenever he/she connects)

> Ability to allow single or multiple selections in a poll (ie, pick one or
choose all that apply)
Use HTML forms. Radio button are ideal for polls; if you want multiple
selections you should use checkboxes (In the latter case, the votes can be
entered in the database with SQL SET type)

> Ability to have multiple polls on a page.
Just put the HTML code for polls in different places on the site. It might
be a good idea to give each poll form a unique name. (<FORM
NAME="unique_name>)

> Ability to have at least 7 options per poll
Construct your HTML code accordingly.

Regards
Manish Sharma
http://www.simplygraphix.com - Extreme web design
http://www.fontmagic.com - Largest True Type Fonts archive on the Internet
http://www.webdevelopersnotes.com - Tutorials, tips, tricks, graphics,
resources and much more





More information about the thelist mailing list