p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   PHP How-To (http://p2p.wrox.com/forumdisplay.php?f=98)
-   -   how to format a diplayed page for print (http://p2p.wrox.com/showthread.php?t=20919)

lanita November 6th, 2004 10:40 PM

how to format a diplayed page for print
Could you please give me an idea how to implement "view page for print" button which displays a page formatted for a print.

For example I have a script:

<form method="post" action="transact-article.php"
    <td> <?php outputTitle($row['record_id']); ?></td>
    <td> <?php outputBody1($row['record_id']); ?></td>
 echo '<input type="submit" class="submit" name="action" "value=\"Print View\" />\n";

What should I write in transact-article.php in order to display the table so that all the coulumns fit to the print page and don't overflow out of page borders?

Thank you,

All times are GMT -4. The time now is 06:37 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.