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!


Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Aug 2010
    Location
    London
    Posts
    312
    Tokens
    359
    Habbo
    Fraged

    Default Another Email problem -_- [+Rep]

    Well my email submit form, is sending me blank emails! Please help!

    I've already tried google.

    HTML:
    <form method="post" action="sendmail.php">

    <!-- Personal Details -->
    <fieldset>
    <legend style="margin-bottom:0">Leave us a message!</legend>

    <label style="padding-top: 1em">Name:</label>
    <input type="text" title="Text input: First Name" name="Name" />

    <label>Email:</label>
    <input type="text" title="Text input: Email" name="email" />

    <label>Phone:</label>
    <input type="text" title="Text input: Phone" name="phone" />

    <label>Message:</label>
    <textarea rows="20" cols=""></textarea>
    </fieldset>

    <p><a href="sendmail.php" class="button-submit"></a></p>
    </form>
    </div>


    PHP:
    <?
    $email = $_GET['email'] ;
    $message = $_GET['message'] ;
    mail( "[email protected]", "Email Subject", $message, "From: $email" );
    print "Congratulations your email has been sent";
    ?>

    Now i recive them, but the content in the email is blank, please help!

  2. #2
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    I don't believe you've named your textarea
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

  3. #3
    Join Date
    Aug 2010
    Location
    London
    Posts
    312
    Tokens
    359
    Habbo
    Fraged

    Default

    Can you tell me how? I IZ EPIC NOOB @ PHP

    Cheers big ears

  4. #4
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    HTML Code:
    <textarea rows="20" cols="" name="message"></textarea>
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

  5. #5
    Join Date
    Aug 2010
    Location
    London
    Posts
    312
    Tokens
    359
    Habbo
    Fraged

    Default

    <form method="post" action="sendmail.php">

    <!-- Personal Details -->
    <fieldset>
    <legend style="margin-bottom:0">Leave us a message!</legend>

    <label style="padding-top: 1em">Name:</label>
    <input type="text" title="Text input: First Name" name="Name" />

    <label>Email:</label>
    <input type="text" title="Text input: Email" name="email" />
    <textarea rows="20" cols="" name="email"></textarea>

    <label>Subject</label>
    <input type="text" title="Text input: Subject" name="subject" />
    <textarea rows="20" cols="" name="subject"></textarea>

    <label>Message:</label>
    <textarea rows="20" cols=""></textarea>
    <textarea rows="20" cols="" name="message"></textarea>
    </fieldset>

    <p><a href="sendmail.php" class="button-submit"></a></p>
    </form>
    </div>

    So like that fine sir?

  6. #6
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    you've got 2 textareas there, you can remove the top one
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

  7. #7
    Join Date
    Aug 2010
    Location
    London
    Posts
    312
    Tokens
    359
    Habbo
    Fraged

    Default

    I don't understand could you re-write for me, when you got time sir.

  8. #8
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    HTML Code:
    <form method="post" action="sendmail.php">
    
    <!-- Personal Details -->
    <fieldset>
    <legend style="margin-bottom:0">Leave us a message!</legend>
    
    <label style="padding-top: 1em">Name:</label>
    <input type="text" title="Text input: First Name" name="Name" />
    
    <label>Email:</label>
    <input type="text" title="Text input: Email" name="email" />
    <textarea rows="20" cols="" name="email"></textarea>
    
    <label>Subject</label>
    <input type="text" title="Text input: Subject" name="subject" />
    <textarea rows="20" cols="" name="subject"></textarea>
    
    <label>Message:</label>
    <textarea rows="20" cols="" name="message"></textarea>
    </fieldset>
    
    <p><a href="sendmail.php" class="button-submit"></a></p>
    </form>
    </div>
    Sorry I'm rather bad at explaining.
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

  9. #9
    Join Date
    Aug 2010
    Location
    London
    Posts
    312
    Tokens
    359
    Habbo
    Fraged

    Default

    <!-- Personal Details -->
    <fieldset>
    <legend style="margin-bottom:0">Leave us a message!</legend>

    <label style="padding-top: 1em">Name:</label>
    <input type="text" title="Text input: First Name" name="Name" />

    <label>Email:</label>
    <input type="text" title="Text input: Email" name="email" />


    <label>Subject</label>
    <input type="text" title="Text input: Subject" name="subject" />


    <label>Message:</label>
    <textarea rows="20" cols="" name="message"></textarea>
    </fieldset>

    <p><a href="sendmail.php" class="button-submit"></a></p>
    </form>
    </div><!-- end content -->
    Its totally fine, kind sir.


    Can i do like that sir?

  10. #10
    Join Date
    Nov 2006
    Location
    Narrich
    Posts
    5,687
    Tokens
    0
    Habbo
    Jamesy...

    Latest Awards:

    Default

    oh yeah! Didn't see what had happened to the others.
    Ex-janitor. Might pop in from time to time, otherwise you can grab all my information from http://jamesy.me.uk/

Page 1 of 3 123 LastLast

Posting Permissions

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