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?
Printable View
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?
do you want to know the code for email the page or dont you know how to make multiple action commands?
Do you mean Javascript instead of Java by any chance?
hard to help someone when he doesnt reply...
if you want to do multiple buttons use commands by using
java.awt.event.ActionListener
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
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.
Its OK someone gave me some PHP code.
Thanks anyway.
:D I knew it