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? Quote 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> Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.