no hagas 2 bucles, en ese mismo while inserta la consulta de la segunda tabla e imprime el resultado algo asi lo haria
Código PHP:
Ver original$result=mysql_query("SELECT * FROM productos ORDER BY id_producto asc"); {
$result2=mysql_query("SELECT * FROM categoria where id_categoria = '".$row['4']."'");
echo "
<tr style='font-size:9px;'>
<th>$row[1]</th>
<th >$row[2] Bs.</th>
<th>$row[3] </th>
<th>$ro[1] </th>
<th><img width=68 height=58 src='$url'></th>
<th>
<a href=editar.php?id=$row[0] title=editar><img src=001_45.gif width=18/></a>
<a href=borrar.php?id=$row[0] title=borrar><img src=001_49.gif width=18/></a>
</th>
</tr>";
Espero te sirva.