Posto tutto il codice che uso per estrarre i dati:

Codice PHP:
<?php

include './include/db_connect.php';

$sql "SELECT * FROM test1";
$res mysql_query($sql$conn);
$euro =    (" €");  
echo 
'
<table>
<tr>
<th width="100">Nome</th>
<th width="100">Cognome</th>
<th width="350">Note</th>
<th width="80">Fattura</th>
<th width="40">Pagato</th>
<th width="10">Edit</th>
</tr>
    '
;
while (
$row mysql_fetch_array($res))
{
    echo 
'
<tr>
<td>' 
$row['nome'] . '</td>
<td>' 
$row['cognome'] . '</td>
<td>' 
$row['note'] . '</td>
<td>' 
.number_format($row['fattura'],2,",","."),$euro.'</td>
<td>' 
$row['pagato'] . '</td>
<td>[url="modifica.php?id=' 
$row['id'] . '"]X[/url]</td>
</tr>
'
;
}
echo 
'</table>
'
;
?>