chronister Posted January 1, 2007 Share Posted January 1, 2007 Happy New Year All....I am creating a database for my aunt's extensive karaoke cd collection. I have everything working and am now working on the print friendly pages.I am running into the problem of records running into another page. Does anyone know how to force the record to print to a new page if it would start at the end of page 1 and continue on page 2??You can view what I am talking about by going to http://karaoke.ctsqc.com/printing.php?print=allPage 1 ends right below the songs list and page 2 picks up with a physical description of the diskI need to ensure that the data for a particular disk is not split on 2 pages, but kept on 1 page or forced to a new page for printingnote: the data is test data and not actual cd's, some is simply amusement for meThanks for all the help here... this is a great community Quote Link to comment https://forums.phpfreaks.com/topic/32434-phpmysql-print-friendly-page-assistance/ Share on other sites More sharing options...
ToonMariner Posted January 2, 2007 Share Posted January 2, 2007 have you looked at just vreating a style sheet with th emedia="print" attribute?this measn you don't need to create a diiferent html page for print - just use the same pages. There are some css properties to keep certain text with other text - i.e. to prevent it breaking over pages which is waht you're after. Quote Link to comment https://forums.phpfreaks.com/topic/32434-phpmysql-print-friendly-page-assistance/#findComment-151760 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.