Jump to content

How to add a print page button to php page


tipjones

Recommended Posts

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!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.