> isn't there a way other than that? > i mean, not opening another page and just print a specific frame when > the print button is clicked
Printing is a browser action--not a server-side one. PHP runs on the server. To access any ability to print you need to use a client-side language like Javascript. The suggestion for CSS is pretty close. You can set up separate style sheets for print and screen displays. The print CSS can have several id elements with a display: none property along with appropriate fonts and colors. Ultimately, while interesting, it is not a PHP topic except on a peripheral basis. James _____ James D. Keeline http://www.Keeline.com http://www.Keeline.com/articles http://Stratemeyer.org http://www.Keeline.com/TSCollection http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc. Spring Semester Begins Jan 31 -- New Classes Start Every Few Weeks. Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
