Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Sep 2007
    Posts
    15
    Member #
    15883
    Please advise why this form is not working ;(
    It is not sending my customer the information when using the form in Internet Explorer.

    I would really appreciate the help!

    HTML.....

    <form method="post" action="process.php">
    <div align="center">
    <table width="455" bgcolor="#f1dfb6" border="0">
    <tr>
    <td valign="top">Desired Arrival Date <font size="1"><br />
    (example November 09, 2007):</font></td>
    <td valign="top"><input type="text" name="t1"></td>
    </tr>
    <tr>
    <td valign="top">Length of Stay <font size="1"><br />
    (Number of Nights/Weeks):</font></td>
    <td valign="top"><input type="text" name="t2"></td>
    </tr>
    <tr>
    <td valign="top">Number in Party<br />
    <font size="1"> (# of Adults & # of Children):</font> </td>
    <td valign="top"><input type="text" name="t3"></td>
    </tr>
    <tr>
    <td valign="top">Full Name: </td>
    <td valign="top"><input type="text" name="t4"></td>
    </tr>
    <tr>
    <td valign="top">Email Address:</td>
    <td valign="top"><input type="email" name="t5"></td>
    </tr>
    <tr>
    <td valign="top">Telephone w/ Area Code: </td>
    <td valign="top"><input type="text" name="t6"></td>
    </tr>
    <tr>
    <td valign="top">Best time to call: </td>
    <td valign="top"><input type="text" name="t7"></td>
    </tr>
    <tr>
    <td valign="top">Comments:</td>
    <td valign="top"><textarea name="t8" cols="20" rows="5"></textarea></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><input type="submit" value="Submit">
    <input name="Reset" type="reset" value="Reset" /></td>
    </tr>
    </table>
    </div>
    </form>
    <div align="center">
    <center>
    </center>
    </div></td>
    </tr>
    <tr>
    <td height="18"></td>
    <td valign="top"><div align="center">
    <p>&nbsp;</p>
    </div></td>
    </tr>
    <tr>
    <td height="37"></td>
    <td valign="top"><div align="center"><a href="index.html">Home</a> | <a href="rooms.html">Facilities
    and Rates</a> | <a href="contact.html">Contact</a></div>



    PHP....(process.php)

    <?php

    $mymail = 'mcannon@hwsinet.com';
    $cc = 'Customer Date Request';
    $BoDy = ' ';
    $FrOm = 'FROM:' .$_POST['t1'];
    $FrOm .= 'Reply-To:' .$_POST['t1'];
    $FrOm .= 'X-MAILER: PHP'.phpversion();
    $BoDy .= 'Desired Arrival Date (example November 09, 2007):: ';
    $BoDy .= $_POST['t1'];
    $BoDy .= "\n";
    $BoDy .= 'Length of Stay (Number of Nights/Weeks):: ';
    $BoDy .= $_POST['t2'];
    $BoDy .= "\n";
    $BoDy .= 'Number in Party (# of Adults & # of Children): : ';
    $BoDy .= $_POST['t3'];
    $BoDy .= "\n";
    $BoDy .= 'Full Name: : ';
    $BoDy .= $_POST['t4'];
    $BoDy .= "\n";
    $BoDy .= 'Email Address:: ';
    $BoDy .= $_POST['t5'];
    $BoDy .= "\n";
    $BoDy .= 'Telephone w/ Area Code: : ';
    $BoDy .= $_POST['t6'];
    $BoDy .= "\n";
    $BoDy .= 'Best time to call: : ';
    $BoDy .= $_POST['t7'];
    $BoDy .= "\n";
    $BoDy .= 'Comments:: ';
    $BoDy .= $_POST['t8'];
    $BoDy .= "\n";
    $send = mail("$mymail", "$cc", "$BoDy", "$FrOm");
    ///Redirect user to your homepage....
    if($send)
    {
    echo '<html><head>';
    echo '<meta http-equiv="refresh" content="0;URL=http://www.mypoconocabin.com">';
    echo '</head><body>Sending Request to Mypoconocabin.com.....';
    echo '</body></html>';
    }
    ?>

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    Do you mean it works OK with FireFox, but doesn't with IE?

    If that is true, all I can think of is this ...

    You now have:

    <form method="post" action="process.php">
    <div align="center">
    .
    .
    .
    </div>
    </form>



    Switch these around like this:

    <div align="center">
    <form method="post" action="process.php">
    .
    .
    .
    </form>
    </div>




    .



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

html form method post not working in internet explorer

,

html post form not working on internet explorer

,

php email form not sending internet explorer

,

webform not working in internet explorer

Click on a term to search for related topics.
All times are GMT -6. The time now is 11:43 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com