rittwickbanerjee Posted July 28, 2008 Share Posted July 28, 2008 Hi, Friends, Is there any function or method to print a document in php. for example: - I have a 2x3 table in which some data are displayed and i want to give the printed output of that particular page to the user if the user wants to print it. how to slove this problem? Link to comment https://forums.phpfreaks.com/topic/117006-how-to-print-in-php/ Share on other sites More sharing options...
JonnoTheDev Posted July 28, 2008 Share Posted July 28, 2008 Use a javascript event on a link: <a href="javascript:window.print()">Print out this page</a> Link to comment https://forums.phpfreaks.com/topic/117006-how-to-print-in-php/#findComment-601797 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.