I want to split an html page, that is one chapter of notes, into 6 pages or soo. There are no images and the pages will be only $X_Lines long. I'm sick right now and I have no clue on how to do it.... All I know it that the script should:open the chapter notes page I want, read it, and slit it into variables...and then save each variable as a new pages...like
chapterx_page_1.html (56 Lines)
chapterx_page_2.html (56 Lines)
chapterx_page_3.html (33 Lines)<-- Left over lines END:)
I don't know how to split the page by counting the lines and I also don't know how to save new pages from variables.