At 27.06.2001 23:13, [EMAIL PROTECTED] wrote:
>Question for all you php experts out there:
>
>My organization's website is based on mysql/php backend - 95% of the
>webpages are generated dynamically using templates and database records.
>
>We have been asked to create "printer-friendly" versions of these pages.
>
>Now for your opinion/advice: should we (1)create another template called
>"print.php" for example and generate there print friendly pages dynamically
>or should we (2)create static html copies of each database record so that
>they are "print friendly"?
>
>By "print friendly" I mean I want a page that doesn't have the text cut off
>the right hand side of the page (nevermind, for now, that the original page
>shouldn't do this
>in the first place :) )
>
>Thank you so much for your help!
Depends how large your ogranization's website is.
I'd definatly go with the dynamic one, that means creating one template and
nothing else (appart from updating the other templates to have a
PrinterFriendly
link on them).
While a static page would require updating every time something changes, and
requires an amount of work proportional to the number of pages, which could
create a living hell somewhere down the line, especially if you have more than
one webmaster.
*dynamic-dynamic-dynamic* ;-)
--
Andreas D Landmark / noXtension
Real Time, adj.:
Here and now, as opposed to fake time, which only occurs there
and then.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]