Questa sono le query che vede l'utente quando entra in questa sezione del sito, oltre a cap, nome, credenziali, n.civico, c'è la funziona Dettagli (che visualizza delle cose in piu') e modificaCodice PHP:
<table class="tbl" border="0" cellspacing="1" cellpadding="5"width="100%">
<tr>
<td class="hr">[url="indirizzi.php?order=<?php echo "]&type=<?php echo $ordtypestr ?>"><?php echo htmlspecialchars("CAP") ?>[/url]</td>
<td class="hr">[url="indirizzi.php?order=<?php echo "]&type=<?php echo $ordtypestr ?>"><?php echo htmlspecialchars("NOME") ?>[/url]</td>
<td class="hr">[url="indirizzi.php?order=<?php echo "]&type=<?php echo $ordtypestr ?>"><?php echo htmlspecialchars("CREDENZIALI") ?>[/url]</td>
<td class="hr">[url="indirizzi.php?order=<?php echo "]&type=<?php echo $ordtypestr ?>"><?php echo htmlspecialchars("N.CIVICO") ?>[/url]</td>
<td class="hr"></td>
<td class="hr"></td>
</tr>
<?php
for ($i = $startrec; $i < $reccount; $i++)
{
$row = mysql_fetch_assoc($res);
$style = "dr";
if ($i % 2 != 0) {
$style = "sr";
}
?>
<tr>
<td class="<?php echo $style ?>"><?php echo htmlspecialchars($row["CAP"]) ?></td>
<td class="<?php echo $style ?>"><?php echo htmlspecialchars($row["NOME"]) ?></td>
<td class="<?php echo $style ?>"><?php echo htmlspecialchars($row["CREDENZIALI"]) ?></td>
<td class="<?php echo $style ?>"><?php echo htmlspecialchars($row["N.CIVICO"]) ?></td>
<td class="<?php echo $style ?>">[url="indirizzi.php?a=view&recid=<?php echo $i ?>"]Dettagli[/url]</td>
<td class="<?php echo $style ?>">[url="indirizzi.php?a=edit&recid=<?php echo $i ?>"]Modifica[/url]</td>
</tr>
<?php
}
mysql_free_result($res);
?>
</table>
spero di averti incollato tutto
il filtro deve essere invisibile
grazie

Rispondi quotando