/    Sign up×
Community /Pin to ProfileBookmark

PHP – Questionnaire – where from?

Hi guys and girls,

Im after a questionnaire that is written in PHP, basically has to be 3 stage (ie three next buttons) and when the user completes the questionnaire it should email to me…

Is this possible, is their an example script out there?

I can do HTML, but never touched PHP before.

Any assistance or advice would be much appriciated. ?

Thank you.

veb ?

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@ShrineDesignsFeb 02.2005 — basically, test for post data, check which question was submitted, ex.[code=php]<?php
if(!isset($_POST))
{
// no post data yet
// display first form
}
if(isset($_POST['qestion1']))
{
// process post data
// display second form
}
if(isset($_POST['qestion2']))
{
// process post data
// display third form
}
if(isset($_POST['qestion3']))
{
// process post data, and email
// display thank you lol
}
?>[/code]
you should use a session to transfer or carry the data along, them email the results
×

Success!

Help @vebmaster spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...