Ciao a tutti,
tramite una pagina php interrogo un db MySQL e restituisco i dati in una tabella:
.....
while ($row = mysql_fetch_assoc($result)) {
$rag = htmlentities($row['rag_re']);
$cod = htmlentities($row['cod_re']);
$prov = htmlentities($row['pro]);
$codc = htmlentities($row['cod_c']);
echo "<tr>
<td>$rag</td>
<td>$cod</td>
<td>$prov</td>
<td>$codc</td>
</tr>";
}
echo '</table>';
....
vorrei inserire un pulsante, un qualcosa che dia la possibilità di esportare la tabella visualizzata in formato Excel.
Grazie
E' possibile?