i made a PHP page that calculating bill of medical institute. i need to print the bill from this page. bt using window.print command it print whole page with buttons also.. bt i dont need no buttons.plz help me to print bill.. thnkuuu

thnxxxxx

not marked solved
code sample

@media print { .dontprint {display:none;} }
<input type='submit' class='dontprint' value='send' />

Please help me how to hide table set of rows from print..??

Please help me how to hide table set of rows from print..??

read the prior posts <tr class='dontprint'> wiping your behind for you incurs extra charge

okkkk thnxxxx for alll

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.