Page 1 of 1

N00B Needs Help with PHP Questionnaire

Posted: Mon Oct 06, 2008 7:23 pm
by 1234567890
I have to create a five question, multiple choice, questionnaire that can save to a database. Once the person has completed the questionnaire, I would like to automatically send some text to the email address the user provided in the questionnaire. I would also like to be able to easily see the data.

Can you please tell me what this is called and/or where I can look to find tutorials on how to create this? Knowing the name will help in Google searches, or when trying to find a script for this that is already created for me.

Thanks for any help!

Re: N00B Needs Help with PHP Questionnaire

Posted: Tue Oct 07, 2008 2:18 am
by papa
Do you know any programming?

It might not be so easy if you haven't done anything with PHP and mySQL before.

What I would use as references are:
http://w3schools.com/html/html_forms.asp
http://se.php.net/manual/en/function.mail.php

Re: N00B Needs Help with PHP Questionnaire

Posted: Tue Oct 07, 2008 2:23 am
by 1234567890
I have some php experience, but I am lacking knowledge to connect the data inputted on the html form to the actual database. Any good locations for such a topic?

Re: N00B Needs Help with PHP Questionnaire

Posted: Tue Oct 07, 2008 2:30 am
by papa
Well, if you're using mySQL you can look here for the functions you need: http://se.php.net/manual/en/book.mysql.php

Start by connecting and display some data first.

Re: N00B Needs Help with PHP Questionnaire

Posted: Tue Oct 07, 2008 2:32 am
by 1234567890
I have some php experience, but I am lacking knowledge to connect the data inputted on the html form to the actual database. Any good locations for such a topic?

Re: N00B Needs Help with PHP Questionnaire

Posted: Wed Oct 08, 2008 1:53 pm
by califdon