tipjones Posted February 2, 2009 Share Posted February 2, 2009 Hello, I am new to php and am working on a project where I need to add a print button on a php page. I have the following code: <form><input type="button" value=" Print this page " onclick="window.print();return false;" /></form> But it dos not work when inserting it to the php file but works when in a html file.Any help will be a great help! Thanks in Advance!! Quote Link to comment https://forums.phpfreaks.com/topic/143534-how-to-add-a-print-page-button-to-php-page/ 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.