Ciao a tutti , chiedo gentilmente se qualcuno mi puo' aiutare a paginare il seguente listato:
<html>
<head>
<title>Estrazione record</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body bgcolor="#99CCCC">
<table width="750" bgcolor="#0000FF" align="center" cellpadding="0" cellspacing="5" border="0">
<tr>
<td>
<div align="center"><h1><font color="#FFFFFF">ARTICOLI TROVATI</font></h1></div>
<table align=center border=1 bgcolor=ffffff><tr>
<td width=25>id</td><td width=50>cod.art</td><td width=450>descrizione</td><td width=50>cd_marca</td><td width=60>listino</td><td width=30>sc. 1</td><td width=30>sc. 2</td><td width=60>prezzo_netto</td></tr></table>
</td>
</tr>
</table>
<table bgcolor="#FFFFCC" border="1" cellpadding="4" cellspacing="0" width="750" align="center">
<?php
$cerca2=$_POST["cerca"];
$cerca2=trim($cerca2);
include("mysql.php");
$dati = mysql_query("select id, cod_art, descrizione from condi where descrizione LIKE '%".$cerca2."%' OR descrizione LIKE '%".$cerca2."%'");
while ($array = mysql_fetch_array($dati))
{
echo "<tr>";
echo "<td>$array[descrizione]</td> ";
echo "<td><a href=\"06_dettagli.php?id=$array[id]\">dettagli</td> ";
echo "</tr>";
}
mysql_close();
?>
</table>
</body>
</html>
gradirei dividere le pagine visualizzando 20 record per pagina e poi avere i link
cliccabili per andare avanti e indietro .
Ringrazio sin d'ora quanti vorranno darmi aiuto .
![]()