I have two questions, one more theoretical and one more practical.
Suppose I have a database that contains a number of large (3-10 page) magazine articles. Currently I have code that displays the articles as one long page, but I'd like to change that so the articles are displayed with something like 200 words per page. Whats the best way to go about doing this? Should I just make each article a giant string and display it 200 words at a time? That seems a little absurd but I can't think of a better way without remaking a large database.
In actuality I have a database with a number of large articles, but the articles are not saved as a single entry into the databse. The articles are broken up into sections corresponding to where graphics are inserted, with each section being a different cell in the db table. For example:
Section 1 [ text text ]
..............[ text text ]
..............[ text text ]
Section 2 [A JPEG]
Section 3[ text text ]
..............[ text text ]
..............[ text text ]
..............[ text text ]
Since the size of the text sections aren't uniform I can't just display a section per page. Any ideas?
Any help is greatly appreciated.