1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Problem with submit button

Discussion in 'CSS' started by botakilmu, Feb 2, 2014.

  1. #1
    Hi all web master's and sifu's, I want get data directly to my email when people click this submit button, here I'm attach the screen shot, and the exact link is here:http://gadgetcroc.com/homestay/ . I'm really appreciate your answers, thank you very much.
    [​IMG]
     
    botakilmu, Feb 2, 2014 IP
  2. mokah

    mokah Active Member

    Messages:
    88
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    65
    #2
    Hi, you'd need to post the form data to a PHP script or something and then send it.
     
    mokah, Feb 2, 2014 IP
  3. botakilmu

    botakilmu Member

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #3
    @mokah Hi, thank you for your answer. I'm try to use php script but when I'm click the button it have no contain in my email. Can you show me the code please?I'm sorry coz I'm very new in html&css.
     
    botakilmu, Feb 2, 2014 IP
  4. saikatkhulna

    saikatkhulna Member

    Messages:
    15
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    33
    #4
    Hello botakilmu
    as i understand your question you should try this code

    <CENTER>
    <FORM METHOD=POST ACTION="mailto:someone@$nailmail.com" ENCTYPE="text/plain">
    <INPUT TYPE="text" NAME="username"> : name <BR>
    <INPUT TYPE="text" NAME="email"> : email <BR>
    comments <BR>
    <TEXTAREA NAME="COMMENTS" ROWS="10" WRAP="hard">
    </TEXTAREA>
    <INPUT NAME="redirect" TYPE="hidden" VALUE="index.html">
    <INPUT NAME="NEXT_URL" TYPE="hidden" VALUE="index.html">
    <BR>
    <INPUT TYPE="submit" VALUE="Send">
    <INPUT TYPE="reset" VALUE="Clear">
    </FORM>
    </CENTER>
    <!-- END OF FORM -->
    Code (markup):
    i think that will be helpful for you.
     
    saikatkhulna, Feb 25, 2014 IP