Poll Id
I'm pulling from a sql dbase, i want to be able to pull this poll by a specific id. when i do this it just gives me the number 1 for the poll question and only gives me one answer to responde to.
Code:
EnSQL = "select * from poll where id = 1 "
View Replies
I need help with this scripts! i dont know what to fill in and where.
<%
'Enter the details of your server below
src = Server.MapPath("db/poll.mdb")
Set adoCon = Server.CreateObject("ADODB.Connection")
sConnStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & src
adoCon.Open sConnStr
%>
View Replies
View Related
I've been asked about poll engine.How hard would it be to code a poll engine?Does anyone know?
View Replies
View Related
how to write a routine for voting? Like Vote for some thing Yes/No and then it shows graphically in percentage for Yes and for No in ASP.
View Replies
View Related
I only let them vote on my poll once. I set a cookie and put there IP in my database. Then I do a select to see if there IP is in the database and check to see if they have a cookie. Does anyone see a problem with this?
View Replies
View Related
I have a simple poll located at http://nysdelpaso.com/poll/vote_db.asp. The code can be seen at http://nysdelpaso.com/poll/vote_db.txt. The script is very simple one asp file. This script will poll a user and give them 4 possible options.
When they hit submit the script displays the results. Currently,a user can ONLY vote once, due to IP logging. The script stores the users IP address in a Microsoft Access (.mdb) database. I would like to know what needs to be changed in order for someone to vote an unlimited number of times?
View Replies
View Related
My poll's database has a table called "votos". This table as 3 fields: "date", "ip" and "voto". In the field "voto" I will record the option chosen in the previous form (this input may be "01", "02", "03",..., "19" or "20").
Now I want to show the results and for that, I must count the number of time that each option is displayed. Can anyone tell me the count syntax for that? I've tried to change an example I've found in internet, but didn,t achieve it... The code:
View Replies
View Related
what do you prefer ?
1. using session or cookies?
2. why?
3. how long the expired time?
View Replies
View Related
i'm getting a bit cought up with the ASP for a poll creation page i am trying to do.
i am trying to get it so that it will display a varying number of boxes depending on how many options there will be - have it so that it displays the first 2 (the minimum options) and then the other input form elements will be added as needed i'm also having a bit of trouble trying to get the numbers to update with the onchange but that part doesnt feel like its the most challenging - heres what i have so far: Code:
View Replies
View Related
Database and all the pieces are in place. On the results page the query returns the % calculation for a question (displayed) options (each individually).
I need to display bar graph, this is here that i am getting into problem. The background color would be #555555. How can i apply this color to certain % of the container as background?
View Replies
View Related
I need to offer a questionaire to approximately every 10th user of my website when then are leaving.
My first thoughts were to use an application variable to determine the number of users but this falls over because it would not instantly release the variable when the user left the site.
View Replies
View Related
I have a question that may sound stupid, but I want to implement some type of ASP script that can retrieve hardware information of a computer that visits a certain site. I've seen this type of thing before, and I want to do it for a beta-test site I'm planning on running for the ISP I work for. I want to use this type of script that will poll information such as Processor, OS type, Memory, etc. If someone could provide me with some insight on one such script or give me a link to where I can learn how to write this myself, that would be great.
View Replies
View Related