HomeAskAnswerTipAboutJoin
Community Knowledge
Account Login
Search Questions/Tips
March Newsletter
CK FAQ's
Categories
Arts & Entertainment
Books & Literature
General
Movies & TV
Music
Performing Arts
Computers
eCommerce & SEO
Games
General
Hardware
Internet
Programming
Software
Web Design
Education & Reference
College & Career
Financial Aid
General
History
Home Schooling
Language
Science & Math
Special Ed
Teaching
Electronics
Audio
Cameras
General
Phones
TVs
Health
Children
Disease & Illness
Drugs & Medicine
Fitness & Wellness
General
Mental
Substance Abuse
Home & Family
Foods & Cooking
Frugal Living
Gardening
General
Home Care & Repair
Parenting
Pets
Relationships
Money
Banking & Credit
Budgeting
Employment
Financial Aid
General
Investing
Legal
Personal
Small Business
Reviews
Books
General & Other
Movies
Products
TV Shows
Travel
General
Hotels
Places
Transportation
More...
Automotive
Beauty & Style
Consumer Help & Reviews
Current Events
Games
General & Other
Hobbies & Crafts
Outdoors
Photography
Politics
Romance & Dating
Team Sports
Toys
Trivia
Member Question
       In Computers / Programming
Ask A Question
Post A Tip

Question <<   >>
tasawwuf


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???

Post An Answer/Comment

 
 Flag As Abuse/Spam
Member Selected Best Answer
No Answer Selected
Answers/Comments
Capt

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/...);


} //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.


Report Abuse/Spam
  
Post An Answer/Comment



Answer Writing Tips

Be kind and clear. Please provide more than a yes/no answer. Expand on your answers with details, alternate solutions, and appropriate links.

You may add an answer even if another has already been chosen 'best'. You might have a better answer which will benefit the community and future visitors.

Webmasters - you can post a link to your own site in the answer, if it is a legitimate part of your answer. Links contained in the body of the answer are not 'direct' though. If you want a direct link, please add it to your profile.

<< Prev Question Post A New Question Next Question >>



Content on this page is user generated and is not guaranteed as accurate or safe.

Terms of Service
© 2010, Community-Knowledge.com, All Rights Reserved | Terms of Service