Hello!
Of course you only should use Javascript, if you can
rely on it, meaning that you know that every user has JS enabled. Else
it would be some kind of unfair.
I mean the most easiest solution would be, to print just a hint beneath
the form that he (the user) can print out this page and of
o Marciano" <[EMAIL PROTECTED]>
To: "Ignatius Reilly" <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 17:33
Subject: Re: [PHP-WIN] printing a php page
> i mean a page with a summary of information inserted in a form. the user
> would like to print
I suppose you mean the client's printer?
onclick="javascript:window.print()"
reminder: PHP is mostly used server-side
HTH
Ignatius
_
- Original Message -
From: "Ciro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 17:20
Subject: [PH