Shadow Blade
Morrowland Presents Apron Tutorials
game - design - multimedia - web - programming - tutorials - There are currently viewers visiting Apron Tutorials.
   
 
TECHNICAL
GRAPHICAL
SOUND
GAME
WEB
ARTICLE
TOOL
PROJECT
 
 NEWS

  news

  history


 TECHNICAL TUTORIALS

  opengl

  direct3d

  c/c++

  visual basic

  java

  c#


 WEB TUTORIALS

  html

  dhtml

  asp

  php


 IMAGE EDITING

  photoshop

  draw sketch


 3D MODELING

  3d studio


 PROJECTS

  shadow blade

  game environment

  virtual 3d guide

  billy blue flame


 DEMOS

  win32 api


 ARTICLES

  general

  opengl


 COMMUNITY

  about us

  credit

  contact






POLL IN ASP BASED ON TEXTFILE
I will in this tutorial show you how to make a poll where I store the data in a textfile.



Making the Poll

I make three radio buttons that you can choose from and then vote. The vote will be registered in a textfile. I split this into three files, one display.asp that allows you to vote, one vote.asp that inserts the voted result into the textfile and stats.asp where you can view the votes.


display.php



vote.asp

When you will vote, you have to get the content of a textfile, and then add one to the one you have voted. The textfile have to contain following text to begin with: 0||0||0
In my file I redirect back to the stats.asp, to view what others have voted.


stats.asp

Here you can view the stats that have been voted. You get the variables from the textfile as shown below. How you write this to your web site is just your imagination that sets the limits.


Download This Project


PROJECT DESCRIPTION
Category Programming with ASP
Author Tommy Johannessen





Ronny André Reierstad
Morrowland All rights reserved Morrowland © 2002 Apron Tutorials

 LINKS

  morrowland home



 GAME DEVELOPEMENT

  nvidia

  gamedev

  polycount


 PROJECTS

  shadow blade

  game environment

  virtual 3d guide

  billy blue flame


 MATH AND PHYSICS

  mathworld

  physicsworld







PLEASE LINK TO


  All rights reserved Morrowland © 2007  
Ronny André Reierstad