Ti conviene usare mysql_fetch_assoc e in fase di stampa usare $row['nome_campo']

Codice PHP:
<table border="1" width="100%" border="1">
<tr>
<?php
$i 
0;
while(
$row mysql_fetch_assoc($result)){
    
    echo 
"<td>{$row['nome_campo']}</td>";
    
    
$i++;
    
    if(
$i == 0)
    {
        echo 
"</tr><tr>";
    }
}
?>
</tr>
</table>