delete header on print

Hi,
I have a php script that create html page. that I have to print.
I want to know how to delete header and footer on print.
Can you help me
Thank.
Atlas informatique [ So, 27 Januar 2008 21:00 ] [ ID #1917319 ]

Re: delete header on print

On 27 Jan, 20:00, "Atlas informatique" <atlasinformati... [at] free.fr>
wrote:
> Hi,
> I have a php script that create html page. that I have to print.
> I want to know how to delete header and footer on print.
> Can you help me
> Thank.

Headers and Footers on printing are related to the browser and the
operating system.

Nothing to do with php or SQL I'm afraid.
Captain Paralytic [ Mo, 28 Januar 2008 13:21 ] [ ID #1918238 ]

Re: delete header on print

Atlas informatique wrote:
> Hi,
> I have a php script that create html page. that I have to print.
> I want to know how to delete header and footer on print.
> Can you help me
> Thank.
>

use CSS to do this
like this: (sorry might wrap)

<link rel="stylesheet" href="screen.css" type="text/css" media="screen" />

<link rel="stylesheet" href="print.css" type="text/css" media="print" />
geoff [ Mi, 30 Januar 2008 14:37 ] [ ID #1920302 ]
PHP » alt.php.sql » delete header on print

Vorheriges Thema: HELP: PHP upgrade broke my code!
Nächstes Thema: Backing up from one table to another and adding date/time information