darphas Posted October 11, 2012 Share Posted October 11, 2012 hello everybody. i'm making a online catalog and i have all it done, but i want to include a button to send the page product for e-mail or print it, so i want to know how i can search it in google or how is named kind of button to find examples or how it works.. please help. i'm newbie in php. Link to comment https://forums.phpfreaks.com/topic/269364-special-button-to-send-or-print/ Share on other sites More sharing options...
DarkerAngel Posted October 11, 2012 Share Posted October 11, 2012 An email button will require some PHP but the print would just need to be javascript, you don't really need to write any php if you write a comprehensive CSS for printing and link it as: <link rel="stylesheet" type="text/css" href="print.css" media="print"> And something like this can invoke the print dialog: <a href="javascript:window.print()">Click to Print This Page</a> Simple email scripts are pretty easy to program. http://lmgtfy.com/?q=simple+email+script+PHP If I had my files I would give you my setup but I don't have access to it ATM Link to comment https://forums.phpfreaks.com/topic/269364-special-button-to-send-or-print/#findComment-1384579 Share on other sites More sharing options...
darphas Posted October 11, 2012 Author Share Posted October 11, 2012 oh my god! thank you very much! it works perfect Link to comment https://forums.phpfreaks.com/topic/269364-special-button-to-send-or-print/#findComment-1384584 Share on other sites More sharing options...
eldan88 Posted October 12, 2012 Share Posted October 12, 2012 hey. If you are looking for a email script, try going to this link below. I use it all the time and its incredibly easy. http://formtoemail.com/ They have a free version if you click on top for the free version. Hope this help Link to comment https://forums.phpfreaks.com/topic/269364-special-button-to-send-or-print/#findComment-1384704 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.