Ciao e grazie per la risposta,
però c'è ancora un piccolo problema nelle pagine successive non si vede gnente
io imposto il seguente codice per la suddivisione dellle pagine

<table width=300 border=0><tr>
<td width=100 align=left>
<?
if ($start>0)
{ $start_back = $start - $step;
echo "Precedenti";
}
?>
</td>
<?
$query = "SELECT count(*) AS tot FROM archivio WHERE YEAR(data)='$anno' order by data ";
$result = mysql_query($query, $db);
$row = mysql_fetch_array($result);
$pages = intval(($row[tot]-1) / $step)+1;
?>
<td width=100 align=center>
<?
for ($i=0; $i<$pages AND $i<20; $i++)
{ $start_page = $i * $step;
echo "" . ($i+1) . " ";
}
?>
</td>
<td width=100>
<?
if ($start + $step < $row[tot])
{ $start_next = $start + $step;
echo " Successive";
}
?>
</td>
</tr></table>


L'errore è sicuramente in questo pezzo di codice,
"<a href='archivio2-nuovo.php?YEAR(data)='$anno'?start=$start_page'>"

ma non riesco ad andare avanti????