Jump to content

Recommended Posts

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!

 

Link to comment
https://forums.phpfreaks.com/topic/56489-system-of-book/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.