Codice PHP:
$query_limit mysql_query("SELECT * FROM articoli LIMIT $primo$per_page");

$str '<table>';
$str.= '<thead>';
$str.= '<tr>';
$str.= '<th>id articolo</th>';
$str.= '<th>titolo</th>';
$str.= '<th>sottotitolo</th>';
$str.= '<th>ultima modifica</th>';
$str.= '<th>operazioni</th>';
$str.= '</tr>';
$str.= '</thead>';
$str.= '<tbody>';

while(
$results mysql_fetch_assoc($query_limit)) { 
        
$str.='<tr>';
        
$str.='<td rowspan="3">'.$results['art_id'].'</td>';
        
$str.='<td rowspan="3">'.$results['titolo'].'</td>';
        
$str.='<td rowspan="3">'.$results['sottotitolo'].'</td>';
        
$str.='<td rowspan="3">'.$results['campo_modifica'].'</td>';        
        
$str.="<td><a href=\"page.php?id=$results[art_id]\">mostra</a></td>";
        
$str.='</tr>';
        
$str.='<tr>';
        
$str.="<td><a href=\"modifica.php?id=$results[art_id]\">modifica</a></td>";
        
$str.='</tr>';
        
$str.='<tr>';
        
$str.="<td><a href=\"elimina.php?id=$results[art_id]\">cancella</a></td>";
        
$str.='</tr>';
        

$str.= '</tbody>';
$str.= '</table>';
echo 
$str