Page 1 of 1

formmail

Posted: Sun Oct 16, 2005 5:03 am
by ojsann
I want:

-one html -file containing a form, submitting the form (action, onSubmit)
-redirecting to a php processing -file, configure and send the form as a mail (mail())
-if mail() returns true: redirect to the form, AND a new window containing submitted data from the form poping up. Close popup window: return to the form.

Any ideas/suggestions?

Posted: Sun Oct 16, 2005 5:50 am
by s.dot
Start small. Code up your form first. Then make the processing page, do a bunch of print_r() s and echo calls to make sure the data comes accross as you want it.