Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 2 of 2

Thread: Form

  1. #1
    Join Date
    Aug 2005
    Location
    Spain
    Posts
    1,367
    Tokens
    0

    Latest Awards:

    Default Form

    I made this form on dreamweaver now i need it to send to [email protected] can any1 do it for me


    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    .style1 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 14px;
    }
    -->
    </style>
    </head>
    <body>
    <p align="center" class="style1">Name: 
    <input type="text" name="textfield">
    </p>
    <p align="center" class="style1">Email Address: 
    <input type="text" name="textfield">
    </p>
    <p align="center" class="style1">Reason: 
    <select name="select">
    <option>Support</option>
    <option>Sales</option>
    <option>Technical</option>
    <option>Other</option>
    </select>
    </p>
    <p align="center" class="style1">Message:</p>
    <p align="center" class="style1"> <textarea name="textarea"></textarea>
    </p>
    <p align="center" class="style1">
    <input type="submit" name="Submit" value="Submit">
    <input type="reset" name="Reset" value="Reset">
    </p>
    </body>
    </html>

    Also a thankyou.php thing
    Last edited by nelly; 06-07-2006 at 11:49 AM.

  2. #2
    Join Date
    Nov 2004
    Location
    London, UK
    Posts
    233
    Tokens
    66
    Habbo
    tularis

    Latest Awards:

    Default

    Right,

    You'll need to add <form> at the start of the stuff you wanna send and <form action="send.php">
    "send.php" being a php script that will grab and order the variables in the form and execute a command that will send (via email).

    You can also have a .txt file in the directory of your site which the script can write to but that's a bit complicated for now

    - Do a search or something on hotscripts.com?

Posting Permissions

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