why is my code printing when i click button in php code example Example: print button code in php <button onClick="window.print()">Print</button>