Wouldn't it be easier to simply use an on line survey tool?
That way you don't need to code anything - just produce your questions, send out the survey to a bunch of email addresses then analyise the results on line. I did a quick google and came up with loads, here's a few:
I'd suggest trying these out first and see if they meet your needs.If they don't then at least you'll be able to compare the best features and see what your bespoke system requires. If one of these tools does meet your needs then you'll save time and money by using it.
Mike