Jump to content


Photo

printout button with php


  • Please log in to reply
1 reply to this topic

#1 rei

rei
  • Members
  • Pip
  • Newbie
  • 8 posts

Posted 30 August 2006 - 01:37 PM

i just have no idea on how to make the application with button "Print" so that users can print out the page by clicking the button.
any idea or hints for me please?

thanks



#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 30 August 2006 - 01:39 PM

Printing is a client-side activity, so we'll do it with js:

<a href='javascript:window.print()'>Print page</a>

Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users