Re: Printing in php
| From: | BBC | Date: | Wed, 05 Jul 2006 20:52:43 +0000 |
| Subject: | Re: Printing in php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-239153@lists.php.net to get a copy of this message | ||
> weetat wrote:
> > Hi all ,
> >
> > I am using PHP 4.3.2 and MYSQL .
> >
> > I need to do printing function in php .
> > Basically , in my client web page , it will display the list of items
> > on the html page. And i have a print button , so that the user can print
> > the html page to their local printer.
> >
> > Any way how to do this in PHP ?
I believe someone already told you,
I guess we can't do it in PHP, so why not in JavaScript
Sorry I don't mean to take you belittle, but I write this completely for
easy to look for others:
<a href=”#” action="window.print();return false">Print this page</a>
Best Regards
============BBC============
**o<0>o**