Something about PHP

Something about PHP

Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
As a part of my final exam I have to make a project about piracy. Among other things it has to include a survey with answers from 100+ people.
I want to make an online survey, then link people to it, but for that I need a server to host it on and some php syntax knowledge. I have asked a friend to host it on his site, but I still need to somehow get it to work properly online with user input.

This friend of mine knows php, and I'd ask him to do this for me, but I'd like to know how much I'm asking of him here, since I don't have a clue about any web-related programming, or how hard some things would be to implement (he has his own project to work on, so I don't want to ask him to do something that would take hours of work).

Basically what I want is a poll with ~10-15 questions, each of which has 3-6 possible answers (I would of course send all those questions and answers to him in a text file) with a checkbox next to them. Some would allow only one choice, while others would allow multiple choices.

The user would check the fields next to the questions, then hit a submit button, and the site would save his answers. At the end, I should get the poll results and the total number of people who did the survey.

Does anyone know of an already written reliable php (or javascript or whatever) script that would let him make something like this?
...and that's the bottom line because Mate de Vita said so.
 
 
2011 Apr 12 at 02:16 PDT
SuperJer
Websiteman

2005 Mar 20 • 6201
How are you intended to store the results?

That is, where is PHP going to write the results to?

A database would be nice.

Failing that, maybe just send off an email each time someone finishes a survey?

Personally, I'd just make one big form on a page, with a submit button at the end. If you need to only show 1 question at a time, then use jQuery.

The form should then just POST to a PHP script that dumps the $_POST array to a database or an email.

If you know PHP/JS already, this would take less than an hour. But if you don't it could take quite a long time.
 
 
2011 Apr 12 at 02:28 PDT
SuperJer
Websiteman

2005 Mar 20 • 6201
If you want to do it the really, really easy way, then use something like this:

http://www.surveymonkey.com/pricing/?utm_source=header

The FREE one lets you have up to 10 questions and 100 responses so it might work for you.
 
 
2011 Apr 12 at 02:30 PDT
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
2011 Apr 13 at 02:51 PDT
Mate de Vita
Kelli

2008 Oct 4 • 2453
159 ₧
Well, in the end I got him to do it, in exchange for a... certain favor.
...and that's the bottom line because Mate de Vita said so.
 
 
2011 Apr 13 at 11:49 PDT
phoenix_r

2009 May 13 • 898
17 ₧
Mate de Vita said:
Well, in the end I got him to do it, in exchange for a... certain favor.

BOO
 
 
2011 Apr 13 at 12:30 PDT
Page [1]