ayuda con noticia en php

19 de Agosto del 2004
Hola, me gustaria saber como puedo mostrar una noticia en php en varias paginas, o sea, si la noticia es muy larga, automaticamente me la divida en dos paginas o mas, dependediendo......

espero que me puedadn ayudar.... gracias...

este es el codigo:


$connection = mysql_connect("localhost" , "username" , "password");
//select the news database
$db = mysql_select_db("news" , $connection);
//this is our SQL query , note we are ordering by the submitted date
//and setting a limit of ten items
$query = "SELECT * FROM news ORDER BY submitted DESC LIMIT 10";
//execute the query
$result = mysql_query($query);
//start creating our table
echo ("<table border = '0' width = '90%'>");
//loop through rows in the database
while ($rows = mysql_fetch_row($result))
//in the first row we display the title ($rows[1]) and the author $rows[3]
echo ("<tr bgcolor='violet'><td>$rows[1]</td><td>author : $rows[3]</td></tr>");
//in the next row we display the description which is $rows[2]
echo ("<tr><td colspan ='2' bgcolor='lavender'>$rows[2]</td></tr>");
//finally we display the url which is rows[5] and the submitted date which is rows[4]
echo ("<tr bgcolor='violet'><td><a href='$rows[5]'>$rows[5]</a></td><td>Submitted on : $rows[4]</td></tr>");

echo "</table>";