Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Somebody Please Help Me!
Old 06-27-2005, 10:36 PM Somebody Please Help Me!
Junior Talker

Posts: 1
Trades: 0
I need help desperately!

This is my order form: www.momscottage.com/order.php.

I need to know what code to put in orders.php (the file that mails me results) to allow it to get the variables from order.php.

When the form is filled out and submitted, I recieve the email and the subject works, but none of the form data is displayed.

I started learning php 2 days ago, wrote what I have in orders.php within hours, but cannot for the life of me figure this bit out!
Please explain!

This is orders.php so far:

<?php

$my_email="mcenquiries@hotmail.com";

$todayis=date("l,F,j,Y,g:i a");

$message="$todayis [EST] \n
Last Name: $lastname \n
FirstName: $firstname \n
Email Address:$email \n
Name Poem 1: $namepoememailone \n
Name Poem 2: $namepoememailtwo \n
Name Poem 3: $namepoememailthree \n
Name Poem 4: $namepoememailfour \n
Name Poem 5: $namepoememailfive \n
Name Poem 6: $namepoememailsix \n
Name Poem 7: $namepoememailseven \n
Name Poem 8: $namepoememaileight \n
Name Poem 9: $namepoememailnine \n
Name Poem 10: $namepoememailten \n
Name Poem Print Postal Name: $namepoempostalname \n
Name Poem Print Postal Flat No: $namepoemflatno \n
Name Poem Print Postal House No: $namepoemhouseno \n
Name Poem Print Postal Street: $namepoemstreet \n
Name Poem Print Postal Suburb: $namepoemsuburb \n
Name Poem Print Postal State: $namepoemstate \n
Name Poem Print Postal Postcode: $namepoempostcode \n
Name Poem Print 1: $namepoemprintone \n
Name Poem 1 Birthdate: $namepoemprintonedate \n
Name Poem 1 Birthmonth: $namepoemprintonemonth \n
Name Poem 1 Birthyear: $namepoemprintoneyear \n
Name Poem 1 Background: $namepoemprintonebackground \n
Name Poem Print 2: $namepoemprinttwo \n
Name Poem 2 Birthdate: $namepoemprinttwodate \n
Name Poem 2 Birthmonth: $namepoemprinttwomonth \n
Name Poem 2 Birthyear: $namepoemprinttwoyear \n
Name Poem 2 Background: $namepoemprinttwobackground \n
Name Poem Print 3: $namepoemprintthree \n
Name Poem 3 Birthdate: $namepoemprintthreedate \n
Name Poem 3 Birthmonth: $namepoemprintthreemonth \n
Name Poem 3 Birthyear: $namepoemprintthreeyear \n
Name Poem 3 Background: $namepoemprintthreebackground \n
Name Poem Print 4: $namepoemprintfour \n
Name Poem 4 Birthdate: $namepoemprintfourdate \n
Name Poem 4 Birthmonth: $namepoemprintfourmonth \n
Name Poem 4 Birthyear: $namepoemprintfouryear \n
Name Poem 4 Background: $namepoemprintfourbackground \n
Name Poem Print 5: $namepoemprintfive \n
Name Poem 5 Birthdate: $namepoemprinfivedate \n
Name Poem 5 Birthmonth: $namepoemprintfivemonth \n
Name Poem 5 Birthyear: $namepoemprintfiveyear \n
Name Poem 5 Background: $namepoemprintfivebackground \n
Personal Poem Email 1: $personalpoemone \n
Personal Poem Email 2: $personalpoemtwo \n
Personal Poem Print Postal Name: $personalpoetrypostalname \n
Persoanl Poem Print Postal Flat No: $personalpoetryflatno \n
Personal Poem Print Postal House No: $personalpoetryhouseno \n
Personal Poem Print Postal Street: $personalpoetrystreet \n
Personal Poem Print Postal Suburb: $personalpoetrysuburb \n
Personal Poem Print Postal Postcode: $personalpoetrypostcode \n
Personal Poem Print 1: $personalpoemprintone \n
Personal Poem 1 Background: $personalpoemprintonebackground \n
Personal Poem Print 2: $personalpoemprinttwo \n
Personal Poem 2 Background: $personalpoemprinttwobackground \n
Poem By Topic: $topicpoem \n
Poem By Topic Postal Name: $poembytopicpostalname \n
Poem By Topic Postal Flat No: $poembytopicflatno \n
Poem By Topic Postal House No: $poembytopichouseno \n
Poem By Topic Postal Street: $poembytopicstreet \n
Poem By Topic Postal Suburb: $poembytopicsuburb \n
Poem By Topic Postal State: $poembytopicstate \n
Poem By Topic Postal Postcode: $poembytopicpostcode \n
Topic Poem Print: $topicpoemprinti \n
Topic Poem Background: $ibackground \n
Topic Poem Print: $topicpoemprintforeverlove \n
Topic Poem Background: $foreverlovebackground \n
Topic Poem Print: $topicpoemprintthepooranimalkingdom \n
Topic Poem Background: $thepooranimalkingdombackground \n
Topic Poem Print: $topicpoemprinttopicpoemprintwhoneedsfur \n
Topic Poem Background: $whoneedsfurbackground \n
Topic Poem Print: $topicpoemprinttopicpoemprintforherforhim \n
Topic Poem Background: $forherforhimbackground \n
Topic Poem Print: $topicpoemprinttopicpoemprintforhimforher \n
Topic Poem Background: $forhimforherbackground \n
Payment Method: $paymentpaypal \n
Payment Method: $paymentdd \n
Payment Method: $paymentmo \n
";

$from = "From:$email\r\n";

mail($my_email,"MC Order",$message,$from,$headers);
{

$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n";
}

header("Location:http://www.momscottage.com/thankyou.html");

?>

Last edited by nat7788; 06-28-2005 at 04:18 AM..
nat7788 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-28-2005, 12:47 AM
Uche's Avatar
Extreme Talker

Posts: 174
Location: Nigeria/Lagos
Trades: 0
can you pay $100 ??
__________________
Life is just lyke a school where everybody goes to learn one or two thing. the more u school, the more u learn more about school..The more we live our lifes.. the more we learn more about life.

Please login or register to view this content. Registration is FREE
Uche is offline
Reply With Quote
View Public Profile Visit Uche's homepage!
 
Reply     « Reply to Somebody Please Help Me!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.54886 seconds with 12 queries