Jump to content

Slodge

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Posts posted by Slodge

  1. Here is the first form
    [quote]
    <form name="form1" method="post" action="">
      <table width="29%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="53%">Product Code</td>
          <td width="47%"><input name="productcode" type="text" id="productcode"></td>
        </tr>
        <tr>
          <td>Product Item</td>
          <td><input name="productitem" type="text" id="productitem"></td>
        </tr>
        <tr>
          <td>Payment Type</td>
          <td> <select name="select" size="1">
              <option value="Paypal" selected>Paypal</option>
              <option value="Money Order">Money Order</option>
              <option value="Demand Draft">Demand Draft</option>
            </select> </td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><input name="Next" type="button" id="Next" value="Next"></td>
        </tr>
      </table>
    </form>
    [/quote]

    And the Second
    [quote]<form name="form1" method="post" action="">
      <table width="29%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="53%" height="24">Name</td>
          <td width="47%"><input name="Name" type="text" id="Name"></td>
        </tr>
        <tr>
          <td>Address</td>
          <td><input name="Address" type="text" id="Address"></td>
        </tr>
        <tr>
          <td>City</td>
          <td><input name="City" type="text" id="City"> </td>
        </tr>
        <tr>
          <td>State</td>
          <td><input name="State" type="text" id="State"></td>
        </tr>
        <tr>
          <td>Pin</td>
          <td><input name="Pin" type="text" id="Pin"></td>
        </tr>
        <tr>
          <td>Phone</td>
          <td><input name="Phone" type="text" id="Phone"></td>
        </tr>
        <tr>
          <td>Email </td>
          <td><input name="Email" type="text" id="Email"></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td><input type="reset" name="Reset" value="Reset"></td>
          <td><input type="submit" name="Submit2" value="Submit"></td>
        </tr>
      </table>
    </form>[/quote]
  2. Can u guys tell me how to do this.
    1. An order form which which sent the order details to me using html  and the sent the same order details to the person filling up the order form

    2. An order form having 2 pages. First page contains Order item, Order code and Payment type, and after filling the three , user have to click continue to fill up for his address and other things.
  3. Hello guys, can u please help me out.

    I want to know how to create forum with user registration and login. a few days back i created forum without user registration and login page using tutorial , but i want user to able to register to my forum and login. Can u please tell me how to do it
  4. I am creating an order form for my website, i want user (form submitter) receive the copy of the form. eg.

    Thank you for your order:

    Here are the details you sent to us :
    (here comes the order form send to us via the contact form like )
    Name : Submitter Name
    Email : Submitter Email Address
    Ordered Items : Ordered Items

    Hope i am making it clear ,
  5. Can u please help me out. I want to create contact form which send the copy of the form to me + the form submitter email address and display the submit form instead of redirecting to thankyou.php , like

    If my contact form is :

    contact.html [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]
    <form action="mail.php" method="post">
    Name
    <input type="text" name="name"><br/>
    Email addess
    <input type="text" name="email"><br/>
    Message<br/>
    <textarea name="message" cols="40" rows="5"></textarea><br/>
    <input type="submit" value="send"><br/>
    </form>
    [/quote]
    mail.php

    [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]
    <?php


    $youremail = "name@domain.com";


    $subject = "Contact";


    $thankyou = "thankyou.php";


    ;if($email == ""){
    ?>
    No email address added. Please go back.<br/>
    "<?php
    ;}elseif($name == ""){
    "?>
    No name added. Please go back.<br/>
    <?php
    ;}elseif($message == ""){
    "?>
    No message added. Please go back.<br/>
    "<?php
    ;}else{

    $msg = ereg_replace("\\\'", "'", $message);
    $msg = ereg_replace('\\\"', "\"", $msg);
    $message1 = "from: $name\nemail: $email\nmessage:\n$msg1";

    mail($youremail, $subject, $msg, "From: $email\r\nReply-to: $email\r\n");
    ?>
    <meta http-equiv="refresh" content="0; url=<?echo $thankyou;?>"">
    "<?php
    }
    "?>

    [/quote]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.