how to print a page in php?

Posted by w3diy - 1 month ago

print button code in php

<button onClick="window.print()">Print</button>

print page in php example

//how to code print in javascript
console.log("print")
//or
alert("Print")