Results 1 to 8 of 8

Thread: Help on forms

  1. #1
    Join Date
    Jul 2005
    Location
    Portsmouth
    Posts
    42
    Tokens
    0

    Default Help on forms

    I have read all the form tutorial's and i cant understand them. I copy the html to frontpage but they just come up as text in my website.

    Can anyone help me how to create a simple form so people can apply for jobs on my website?
    1589 Halo 2 games played .. and counting

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

    Latest Awards:

    Default

    you got dreamweaver if not want me make you one?

  3. #3
    Join Date
    Jul 2005
    Location
    Portsmouth
    Posts
    42
    Tokens
    0

    Default

    That would be great , ive messaged u
    1589 Halo 2 games played .. and counting

  4. #4
    Join Date
    Jun 2005
    Location
    NORF EASTZ
    Posts
    3,347
    Tokens
    0

    Latest Awards:

    Default

    Use Thybag.co.uk Its got a form handler

  5. #5
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Postbag
    Use Thybag.co.uk Its got a form handler
    Personally i agree with that.

    - Dan

  6. #6
    Join Date
    Apr 2005
    Posts
    810
    Tokens
    0

    Default

    Here's a form I am using on my website.

    First, create these files.

    confirm.php
    &
    contact.html

    Place this code in the contact.html file.
    <form action="confirm.php" method="post">
    Habbo name: <br>
    <input type="text" name="habboname"><br>
    Your e-mail: <br>
    <input type="text" name="youremail"><br>
    Message:<BR>
    <textarea name="message" width="10" hight="10"></textarea><br>
    <input type="submit" value="Send">
    </form>

    Place this code in the confirm.php file.
    <?php
    $name=$_POST['habboname'];
    $email=$_POST['youremail'];
    $comments=$_POST['message'];
    $to="[email protected]";
    $message="Name: $name \n Email: $email \n Message: $message \n IP: $REMOTE_ADDR";
    if(mail($to,"E-mail from your site",$message,"From: $email\n")) {
    echo "";
    } else {
    echo "Error.";
    }
    ?>

    - Your visitors will be redirected to confirm.php when they've sent their message. IP's are logged -

  7. #7
    Join Date
    Aug 2005
    Location
    Tunbridge Wells, Kent
    Posts
    5,063
    Tokens
    1,624

    Latest Awards:

    Default

    Wow Jaxxy. Your a Brill Webmaster your should work for habbox
    Never argue with an idiot, he'll drag you down to his level, and beat you with experience.

    Quote Originally Posted by Recursion
    *oh trust me
    *I would NEVER go ATi
    And 15 mins later...
    Sapphire ATI Radeon HD 5850 1024MB GDDR5 PCI-Express Graphics Card £195.73 1 £195.73
    *ordered.

  8. #8
    Join Date
    Jun 2005
    Location
    Manchester
    Posts
    3,187
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by DJ-Snoop
    Wow Jaxxy. Your a Brill Webmaster your should work for habbox
    Nahh it's a simple PHP form code.

    - Dan

Posting Permissions

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