how to add print button in html code example
Example 1: print button code in php
<button onClick="window.print()">Print</button>
Example 2: print button html
onclick="window.print();return false;
<button onClick="window.print()">Print</button>
onclick="window.print();return false;