Html Contact Form Trouble

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NYXX
    New Member
    • Jul 2007
    • 18

    Html Contact Form Trouble

    Here is my Html Code and my Contact.php

    This is My code in my html
    [html]
    <td height="345" valign="top">
    <form style="margin:0 ; padding:0; " action="contact .php" method="get" id="form">
    <table width="476" style="height:1 00% " border="0" cellspacing="0" cellpadding="0" >
    <tr>
    <td width="238" valign="top">
    <div style="margin:2 9px 0px 0px 23px; ">
    <img src="images/6tx2.gif" alt=""><br>
    <img src="images/spacer.gif" alt="" width="1" height="21"><br >
    Your Namebr>
    <input type="text" class="form"><b r>
    <img src="images/spacer.gif" alt="" width="1" height="15"><br >
    Your Emailbr>
    <input type="text" class="form"><b r>
    <img src="images/spacer.gif" alt="" width="1" height="16"><br >
    Your Subject Linebr>
    <input type="text" class="form"><b r>
    </div>

    </td>
    <td width="238" valign="top">
    <div style="margin-top:63px; ">
    Your Messagebr>
    <textarea rows="5" cols="5" class="textarea " style="overflow :hidden "></textarea><br>
    <div style="margin:5 px 35px 0px 0px; " align="right">
    <a href="" onclick="docume nt.getElementBy Id('form').rese t()">reset</a><img src="images/spacer.gif" alt="" width="16" height="1"><a href="" onclick="docume nt.getElementBy Id('form').subm it()">submit</a>
    </div>
    </div>
    [/html]
    Theirs is not Image Link you mentioned above that causes my page to be off in alignment.

    My Contact.PHp looks like this
    [code=php]
    <?
    $subject="from ".$_GET['Your_Name'];
    $headers= "From: ".$_GET['Your_Email']."\n";
    $headers.='Cont ent-type: text/html; charset=iso-8859-1';
    mail("defina895 3@rogers.com", $subject, "
    <html>
    <head>
    <title>Septag on Studios: Contact Form</title>
    </head>
    <body>

    <br>
    ".$_GET['Your_Message']."
    </body>
    </html>" , $headers);
    echo ("Your message was successfully sent!");
    ?>
    [/code]

    This is how my page looks

    Last edited by drhowarddrfine; Nov 6 '07, 01:29 AM. Reason: Please use code tags
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    ...

    So what's the 'trouble' you speak of?

    Comment

    • NYXX
      New Member
      • Jul 2007
      • 18

      #3
      I'm not able to get those email messages sent from the contact form.

      Is there anything wrong in the code that should be implemented

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        I believe this is a PHP problem so I'll send it there.

        Comment

        • NYXX
          New Member
          • Jul 2007
          • 18

          #5
          So the HTml portion is fine?

          Comment

          • NYXX
            New Member
            • Jul 2007
            • 18

            #6
            Has anyone looked at the problem yet

            Comment

            Working...