Single page survey

a complete ready to use php survey system

Single page survey

Postby yeehaw » Sun Aug 15, 2004 1:28 am

I am experiencing that the number of votes are inconsistent between all the questions and that the votes do not correspond to the actual number of reponses in the history log.

Single page survey:
http://www.usingenuity.com/survey/ (leads to the survey)

Corresponding results page:
http://www.usingenuity.com/survey/result.php?survey=1

I am not experienced in PHP, but it appears that the part of the script that verfies whether the question has been responeded to, checks only per question and not the entire survey as I originally expected (i.e. record_1page.php refers to the recordanswer() function in survey.inc.php for each question, but does not allow for verification before posting to the SQL database. This results that the response will be recorded in the database and the survey sends the user back to complete their responses hence adding another vote to the already voted question.

Are there any workarounds?

Thanks!
yeehaw
 
Posts: 1
Joined: Sun Aug 15, 2004 1:17 am

Return to nabopoll

Who is online

Users browsing this forum: No registered users and 3 guests