PHP - How pass user input date from one form (page) to another filling in the same info for the user to verify
<p>I'm trying to create an order form that will pass data from it to the same form but on a different page so the user can verify their information first then they will submit the data again for emailing and be redirected to a thank you page.</p>

<p>The problem is I haven't been able to get the info to pass into the form (same form different page). I also have to set up a conditional when the email(s) is sent because it needs to be sent to different people depending on which parts of the form are filled out.</p>

<p>Any help is greatly appreciated! I have a pretty good grasp of PHP, but it's been a long time since I've used it and this has been frustrating after spending a few days online searching for an answer. I'm sure this is something easy and I'll say, "Of course".</p>

<p>Thank you!</p>

<p><a href="https://secure.kellypromotions.com/hmcpromo/order_form.php" rel="nofollow">https://secure.kellypromotions.com/hmcpromo/order_form.php</a></p>

<p><a href="https://secure.kellypromotions.com/hmcpromo/verify_order_roller.php" rel="nofollow">https://secure.kellypromotions.com/hmcpromo/verify_order_roller.php</a></p>

<pre><code>&lt;form id="promo_order_form" name="promo_order_form" method="post" action="verify_order_form.php"&gt;

    &lt;div id="order_form"&gt;
        &lt;span id="sprytextfield7"&gt;
            &lt;label for="Order_Date"&gt;Order Date:&lt;/label&gt;
            &lt;input type="text" name="Order_Date" id="Order_Date" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;span class="textfieldInvalidFormatMsg"&gt;Invalid format.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield17"&gt;
            &lt;label for="Date_Needed"&gt;Date Needed:&lt;/label&gt;
            &lt;input type="text" name="Date_Needed" id="Date_Needed" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;span class="textfieldInvalidFormatMsg"&gt;Invalid format.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield16"&gt;
            &lt;label for="AU"&gt;AU #:&lt;/label&gt;
            &lt;input type="text" name="AU" id="AU" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;span class="textfieldInvalidFormatMsg"&gt;Invalid format.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        (Required for ALL orders, including credit card orders)
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield15"&gt;
            &lt;label for="Approved"&gt;Approved by:&lt;/label&gt;
            &lt;input type="text" name="Approved" id="Approved" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        (Managers approval required)
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield5"&gt;
            &lt;label for="mgrEmail"&gt;Manager Email:&lt;/label&gt;
            &lt;input type="text" name="mgrEmail" id="mgrEmail" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;span class="textfieldInvalidFormatMsg"&gt;Invalid format.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield14"&gt;
            &lt;label for="Contact"&gt;Contact:&lt;/label&gt;
            &lt;input type="text" name="Contact" id="Contact" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield13"&gt;
            &lt;label for="Email"&gt;Email:&lt;/label&gt;
            &lt;input type="text" name="Email" id="Email" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;span class="textfieldInvalidFormatMsg"&gt;Invalid format.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield12"&gt;
            &lt;label for="Phone1"&gt;Phone #:&lt;/label&gt;
            &lt;input type="text" name="Phone1" id="Phone1" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;span class="textfieldInvalidFormatMsg"&gt;Invalid format.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield8"&gt;
            &lt;label for="Fax"&gt;Fax #:&lt;/label&gt;
            &lt;input type="text" name="Fax" id="Fax" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield9"&gt;
            &lt;label for="MAC"&gt;MAC #:&lt;/label&gt;
            &lt;input type="text" name="MAC" id="MAC" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield10"&gt;
            &lt;label for="Ship"&gt;Ship to:&lt;/label&gt;
            &lt;input type="text" name="Ship" id="Ship" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield11"&gt;
            &lt;label for="Attention"&gt;Attention:&lt;/label&gt;
            &lt;input type="text" name="Attention" id="Attention" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
    &lt;/div&gt;

    &lt;div id="personal_form"&gt;
        &lt;div id="personal_header"&gt;PERSONAL ORDERS ONLY:&lt;/div&gt;

        &lt;span id="spryradio1"&gt;
            &lt;label&gt;
                &lt;input type="radio" name="Visa" value="radio" id="Visa" /&gt;
                Visa&lt;/label&gt;
            &lt;br /&gt;
            &lt;label&gt;
                &lt;input type="radio" name="Mastercard" value="radio" id="Mastercard" /&gt;
                Mastercard&lt;/label&gt;
            &lt;br /&gt;
            &lt;label&gt;
                &lt;input type="radio" name="Amex" value="radio" id="Amex" /&gt;
                Amex&lt;/label&gt;
        &lt;/span&gt;

        &lt;span id="sprytextfield21"&gt;
            &lt;label for="CardNum"&gt;Card Number:&lt;/label&gt;
            &lt;input type="text" name="CardNum" id="CardNum" /&gt;
        &lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;

        &lt;span id="sprytextfield18"&gt;
            &lt;label for="exp"&gt;EXP:&lt;/label&gt;
            &lt;input name="exp" type="text" id="exp" value="MM/DD" size="10" maxlength="5" /&gt;
        &lt;/span&gt;

        &lt;span id="sprytextfield20"&gt;
            &lt;label for="cvs"&gt;CVS #:&lt;/label&gt;
            &lt;input name="cvs" type="text" id="cvs" size="5" maxlength="3" /&gt;
        &lt;/span&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield19"&gt;
            &lt;label for="auth"&gt;Name on Card:&lt;/label&gt;
            &lt;input name="auth" type="text" id="auth" size="40" /&gt;
        &lt;/span&gt;
    &lt;/div&gt;

    &lt;div id="delivery"&gt;
        &lt;p&gt;Please allow 3 weeks for delivery.
            &lt;br /&gt;
            &lt;br /&gt;
            Orders will ship via UPS Ground. Individual product styles will ship separately.
        &lt;/p&gt;
    &lt;/div&gt;

    &lt;br /&gt;
    &lt;ul&gt;
        &lt;li class="clear"&gt;PERSONALIZATION INFORMATION&lt;/li&gt;
    &lt;/ul&gt;

    &lt;div id="pers_form"&gt;
        &lt;span id="sprytextfield3"&gt;
            &lt;label for="First"&gt;First Name:&lt;/label&gt;
            &lt;input type="text" name="First" id="First" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;

        &lt;span id="sprytextfield2"&gt;
            &lt;label for="Last"&gt;Last Name:&lt;/label&gt;
            &lt;input type="text" name="Last" id="Last" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;

        &lt;span id="sprytextfield4"&gt;
            &lt;label for="Phone2"&gt;Phone #:&lt;/label&gt;
            &lt;input type="text" name="Phone2" id="Phone2" /&gt;
        &lt;/span&gt;

        &lt;span id="sprytextfield1"&gt;
            &lt;label for="Email2"&gt;Email:&lt;/label&gt;
            &lt;input type="text" name="Email2" id="Email2" /&gt;
        &lt;/span&gt;
    &lt;/div&gt;

    &lt;div id="totals_header"&gt;
        TOTAL COST
    &lt;/div&gt;

    &lt;br /&gt;
    &lt;ul&gt;
        &lt;li&gt;ITEM&lt;/li&gt;
    &lt;/ul&gt;

    &lt;div id="item_form"&gt;
        &lt;h3&gt;Executive Metal Grip Roller&lt;/h3&gt;
        &lt;input name="ItemNum" type="hidden" id="ItemNum" value="EMGR" /&gt;
        &lt;br /&gt;
        &lt;input name="ItemPrice" type="text" id="ItemPrice" value="$1.10 Each" size="12" readonly="readonly" /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;span id="sprytextfield6"&gt;
            &lt;label for="Qty"&gt;Qty (Minimum 300):&lt;/label&gt;
            &lt;input name="Qty" type="text" id="Qty" size="10" /&gt;
            &lt;span class="textfieldRequiredMsg"&gt;A value is required.&lt;/span&gt;&lt;span          class="textfieldInvalidFormatMsg"&gt;Invalid format.&lt;/span&gt;&lt;span class="textfieldMinValueMsg"&gt;The entered value is less than the minimum required.&lt;/span&gt;  &lt;/span&gt;&lt;br /&gt;
        &lt;br /&gt;
        &lt;label for="Total"&gt;Total:&lt;/label&gt;
        &lt;input name="Total" type="text" id="Total" size="25" readonly="readonly" /&gt;
        &lt;br /&gt;
        &lt;hr /&gt;
        &lt;input type="submit" name="Submit" id="Submit" value="Submit" /&gt;
        &lt;br /&gt;
    &lt;/div&gt;

    &lt;div id="totals_form"&gt;
        &lt;label for="Subtotal"&gt;Subtotal&lt;/label&gt;
        &lt;input name="Subtotal" type="text" id="Subtotal" size="15" readonly="readonly" /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;label for="Sales_Tax"&gt;Sales Tax (MN only)&lt;/label&gt;
        &lt;input name="Sales_Tax" type="text" id="Sales_Tax" size="15" /&gt;
        &lt;br /&gt;
        &lt;br /&gt;
        &lt;label for="P_H"&gt;Packaging and Handling&lt;/label&gt;
        &lt;input name="P_H" type="text" id="P_H" value="$3.75" size="15" readonly="readonly" /&gt;
        &lt;br /&gt;
        &lt;br /&gt;  
        &lt;label for="Freight"&gt;Freight&lt;/label&gt;
        &lt;input name="Freight" type="text" id="Freight" size="15" readonly="readonly" /&gt;
        &lt;br /&gt;
        &lt;hr /&gt;
        &lt;label for="Totals"&gt;Total&lt;/label&gt;
        &lt;input name="Totals" type="text" id="Totals" size="15" readonly="readonly" /&gt;
    &lt;/div&gt;

    &lt;div class="clear"&gt;&lt;!--CLEAR--&gt;&lt;/div&gt;

&lt;/form&gt;


&lt;?php

//Order Form Var
$Order_Date = strip_tags($_POST['Order_Date']);
$Date_Needed = strip_tags($_POST['Date_Needed']);
$AU = strip_tags($_POST['AU']);
$Approved = strip_tags($_POST['Approved']);
$mgrEmail = strip_tags($_POST['mgrEmail']);
$Contact = strip_tags($_POST['Contact']);
$Email = strip_tags($_POST['Email']);
$Phone1 = strip_tags($_POST['Phone1']);
$Fax = strip_tags($_POST['Fax']);
$MAC = strip_tags($_POST['MAC']);
$Ship = strip_tags($_POST['Ship']);
$Attention = strip_tags($_POST['Attention']);

//Personal Order Form Var
$Visa = strip_tags($_POST['Visa']);
$Mastercard = strip_tags($_POST['Mastercard']);
$Amex = strip_tags($_POST['Amex']);
$exp = strip_tags($_POST['exp']);
$cvs = strip_tags($_POST['cvs']);
$auth = strip_tags($_POST['auth']);

//Personalization Form Var
$First = strip_tags($_POST['First']);
$Last = strip_tags($_POST['Last']);
$Phone2 = strip_tags($_POST['Phone2']);
$Email2 = strip_tags($_POST['Email2']);

//Item Form Var and Math
$ItemNum = strip_tags($_POST['ItemNum']);
$ItemPrice = strip_tags($_POST['ItemPrice']);
$ItemNum = strip_tags($_POST['ItemNum']);
$Qty = strip_tags($_POST['Qty']);
$Total = strip_tags($_POST['Total']);

//Totals Form Math
$Subtotal = strip_tags($_POST['Subtotal']);
$Sales_Tax = strip_tags($_POST['Sales_Tax']);
$P_H = strip_tags($_POST['P_H']);
$Freight = strip_tags($_POST['Freight']);
$Totals = strip_tags($_POST['Totals']);

?&gt;
</code></pre>
