Good night expensive friends!
I have a serious problem, necessary to make one script of book, it functions thus: you insert in the data base the chapters, and later it she has that to catch all the chapters, to see how many pages has and to make the paging, this would be easy, if it was not:
- All beginning of chapter has that to be in a new page; - Not to count HTML as character (would be alone boldface, italic and….;
- It would have that to accept the image, I thought thus about something: the size of the image is caught, and is calculated which the size of the space that it would occupy (daily pay-she would be defined), and deducts from the amount of text of the page. Ex: in page 15 it has an image of 300x300 = 200 characters, only if it can have 500 characters for page, then this page alone can have more 300;
- Not to cut the word (Ex: “this would be the end of pag…”, to leave “this thus would be the end of”, without cutting);
- It cannot be weighed therefore, being about books, are great amounts of text, he will be something weighed, it would delay years to process;
- How to make this, if the text is not grouped, and yes, separate for insertions in the data base?
It forgives the English, I am Brazilian, and I do not know to write very well…
I am thankful since already!