WordPress.org

Ready to get started?Download WordPress

Forums

Could somebody help me with my submission page code? (5 posts)

  1. awkward_clam
    Member
    Posted 5 years ago #

    Hi. The problematic page is here:

    I need the message box to be wayyyyy bigger but where do I add this in the code. I'm a total noob.

    Here's the html code:

    <form name="contact_form" action="contact.php" method="get">
    <table width="456" border="0" cellpadding="0" cellspacing="0" bgcolor="F7F5F2">
    <tr>
    <td height="60"><img src="images/tit_18.gif" width="405" height="23" style="margin-left:24px "></td>
    </tr>
    <tr>
    <td height="28" valign="top"><table width="456" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="124" align="right" class="text_1">Your name:</td>
    <td width="26"><img src="images/spacer.gif" width="1" height="1"></td>
    <td><input name="your_name" type="text" class="form_1"></td>
    </tr>
    </table></td>
    </tr>

    <tr>
    <td height="400" valign="top"><table width="656" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="124" align="right" valign="top" class="text_1" style="padding-top:3px ">Message:</td>
    <td width="26"><img src="images/spacer.gif" width="1" height="1"></td>
    <td><textarea name="message" class="form_2"></textarea></td>
    </tr>
    </table></td>
    </tr>
    <tr>
    <td valign="top">Share My Story </td>
    </tr>
    </table><!-- -->
    </form>

    AND the PHP is here:

    <?
    $subject="from ".$_GET['your_name'];
    $headers= "From: ".$_GET['your_email']."\n";
    $headers.='Content-type: text/html; charset=iso-8859-1';
    mail("staff@awkwardisdead.com", $subject, "
    <html>
    <head>
    <title>New Story</title>
    </head>
    <body>

    ".$_GET['message']."
    </body>
    </html>" , $headers);
    echo ("BEVERLY'S BURLAP CLAM SATCHEL! We appreciate your submission...");
    ?>
    <script>
    resizeTo(600, 600)

    </script>

    Thanks so much in advance!

  2. awkward_clam
    Member
    Posted 5 years ago #

    Actually to add another question...

    When you click the 'submit' button, the main window closes as a new one pops up.. Is it possible to have the popup as well as the main window being redirected to the home page? Thanks!

  3. awkward_clam
    Member
    Posted 5 years ago #

    bump plz

  4. awkward_clam
    Member
    Posted 5 years ago #

    anybody?

  5. awkward_clam
    Member
    Posted 5 years ago #

    oh ffs

Topic Closed

This topic has been closed to new replies.

About this Topic