Results 1 to 11 of 11

Thread: [RESOLVED] email me - button

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2009
    Posts
    156

    Resolved [RESOLVED] email me - button

    using php I have constructed a page with information from a database. I have managed to create a java submit button that will print the page out.

    Is it possible to add another java button that would email the page?

  2. #2
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: email me - button

    do you want to know the code for email the page or dont you know how to make multiple action commands?

  3. #3
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171

    Re: email me - button

    Do you mean Javascript instead of Java by any chance?


    Has someone helped you? Then you can Rate their helpful post.

  4. #4
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: email me - button

    hard to help someone when he doesnt reply...

    if you want to do multiple buttons use commands by using

    java.awt.event.ActionListener

  5. #5
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: email me - button

    Quote Originally Posted by manavo11 View Post
    Do you mean Javascript instead of Java by any chance?
    I really think s/he does
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  6. #6
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: email me - button

    Quote Originally Posted by ComputerJy View Post
    I really think s/he does
    s/he could also use a Applet?

  7. #7
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: email me - button

    Quote Originally Posted by Justa Lol View Post
    s/he could also use a Applet?
    That's true, except that I've already placed my bet
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Mar 2009
    Posts
    156

    Re: email me - button

    Sorry for the late reply (I'm still alive!), where would I find the Applet or some sample code for me to get my head around?

    Thanks

  9. #9
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: email me - button

    an applet is normally what people make jars of and put on websites... i could show you an example but i dont like linking on this forum.

    http://www.ibdprince.com/java.shtml

    try taking a look at that. thats an applet.

    now since we know you want to make a java not javascript do you need to make multiply commands or do you need a code for emailing?

    ps: happy to see your still alive.

  10. #10

    Thread Starter
    Addicted Member
    Join Date
    Mar 2009
    Posts
    156

    Re: email me - button

    Its OK someone gave me some PHP code.

    Thanks anyway.

  11. #11
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: [RESOLVED] email me - button

    I knew it
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

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



Click Here to Expand Forum to Full Width