Dear MembersI want an help from you,I want to make…

Jan

24

2009

Dear Members
I want an help from you,
I want to make a php form
that contain all the relevant feilds,
-name
-fathers name
-date of birth
etc

and after completing the form, users submit to my email
tasawwuf.mail@gmail.com
and they, (users) will redirect to the homepage of my website
www.tasawwuf.110mb.com/index.htm

Can any body make it for me???

In: More Asked By: tasawwuf [ Grey Star Level]
Answer this Question Now Answers 1 Answer
Answer #1

This is a simple example, I think you will be able to take this and make some changes to make it look like you want.

———————

<?
if ($email) { //if this is a form submission

mail("tasawwuf.mail@gmail.com","Form Submission","
The following form information was submitted:

Email: $email

Father's Name: $fathersName

Birthday: $birthday

","From:<$email>");

header('Location: http://www.tasawwuf.110mb.com/index.htm');

} //end email if

?>
<HTML>

<HEAD>
<TITLE></TITLE>
</HEAD>

<BODY>
<FORM ACTION="<?=$PHP_SELF ?>">
<P>Email:&nbsp;<INPUT TYPE="TEXT" NAME="email"><BR>
<BR>
Father's Name:&nbsp;<INPUT TYPE="TEXT" NAME="fathersName"><BR>
<BR>
Birthday:&nbsp;<INPUT TYPE="TEXT" NAME="birthday"><BR>
<BR>
<INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Submit"></P>
</FORM>
</BODY>
</HTML>

——————-

To add more fields, just use the example and make more inputs and add them to the email part.

Answers Answered By: Capt [ Grey Star Level]

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »

Star Points Scale

Earn points for Asking and Answering Questions!

Grey Sta Levelr [1 - 25 Grey Star Level]
Green Star Level [26 - 50 Green Star Level]
Blue Star Level [51 - 500 Blue Star Level]
Orange Star Level [501 - 5000 Orange Star Level]
Red Star Level [5001 - 25000 Red Star Level]
Black Star Level [25001+ Black Star Level]