How to make text wrap to a new page?

Make a website with electronic books, it works, but there is one nuance - it is necessary that after the withdrawal of news from the database was limited to the number of characters, let's say I have 1000 words how to make 1000 words was divided into several pages, not all on one. How to make the limitation on a generation of new pages in order to spread text?
Here's the code to display news

 echo "<b>Name: <a class="title">".$myrow['title']."</a><br>";
 echo "<b>date: </b><a class="title">".$myrow['date_news']."</a><br><hr>";
 if(isset($_GET['full']) && $_GET['full']==$myrow['id'])
 echo "<a class="mess">".$myrow['fullnews']."<br><br></a>";
 echo "<a href="blog-without-sidebar.php">Hide</a><hr><br>";
 echo "<a class="mess">".$myrow['shortnews']."<br><br></a>";
 echo "<a href="blog-without-sidebar.php?full=".$myrow['id']."">Read the full story</a><hr><br>";
July 2nd 19 at 13:30
2 answers
July 2nd 19 at 13:32
In advance consider the words and or abuse on the page.
my workbook is generated automatically using TinyMCE and presented as news - Thurman_Willms15 commented on July 2nd 19 at 13:35
: Abstract example.
$_ = explode(" ",str_repeat('slovo ',3000)); //3000 words split
$__ = count($_)/1000; //3 page
echo "Page {$i} | ";
} - selina commented on July 2nd 19 at 13:38
July 2nd 19 at 13:34
well, if you really on Feng Shui - redraw the table structure to one entry = one page, to the conclusion every time is not to read the entire volume of War and Peace just for the sake of conclusion 156ะน page. Table books, the table of pages, pagination using the standard "limit", it's simple, and server much easier. hemorrhagic and the load will only be saved, but not when reading.

Find more questions by tags PHP