pur avendo avuto istruzioni sui come fare , non ci sono risctito, qualcuno sa come lo devo applicare questa enedetta paginazione a questo codice:
Codice PHP:
<?php
include "pages/riassunto.php";
$ultimi=mysql_query("SELECT * FROM immobili where tipologia='affitto' ORDER BY ID DESC LIMIT 10") or die (mysql_error());;
while($result=mysql_fetch_array($ultimi)){
$cat=$result[4];
$logo=mysql_query("SELECT logo FROM categorie WHERE tipologia='$cat' ");
$result1=mysql_fetch_array($logo)
?>
<table align="center">
<tr>
<td rowspan="4" width="133"><div align="center">[img]<?php echo $result[13];?>[/img]" alt="<?php echo $result[3];?>" width="150" height="100"></div></td>
<td rowspan="2"></td>
<td width="400" rowspan="2" id="sottotitolo"><?php echo $result[3]; ?></td>
<td></td>
</tr>
<tr>
<td>[img]<?php echo $result1[0]; ?>[/img]</td>
</tr>
<tr>
<td rowspan="2"></td>
<td width="400" height="80" rowspan="2" valign="top">
<?php
$testo = $result[11];
$lung_max = 15;
$finale = " ....";
$intro = intro($testo, $lung_max, $finale);
echo $intro;
?>
</td>
<td></td>
</tr>
<tr>
<td id="sottotitolo">[url="index.php?page=1&visualizza=<?php echo $result[0]; ?>"][img]images/lente.gif[/img][/url]</td>
</tr>
<tr>
<td colspan="4">[img]images/linea_div.jpg[/img]</td>
</tr>
</table><?php } ?>
Sono in crisi, perfVORE AIUTATEMI