Posto il codice magari è + utile


include("setConn.php");
$start = $_GET["start"];

if(!isset($start)OR $start<0)
$start=0;
$step=20;

$sql = "SELECT distinct fatture.ID, fatture.numero, fatture.ID_fornitore, fornitori.numero FROM fatture fornitori WHERE fatture.ID=fornitori.nome LIMIT $start, $step";

$result = mysql_db_query("news", $sql, $db);

print "<table width='100%'>";
print "<tr><td height='50'>FORNITORE</td><td height='50'>NUMERO</td></tr>";
while ($row = mysql_fetch_array($result)) {
print "<tr>";
print "<td height='20'>".$row["nome"]."</td><td height='20'>".$row["numero"]."</td>";
print "</tr>";
}
print "</table>";