Y porq no cerras las etiquetas... no sale del ciclo...
Código:
<?php
while ($row=mysql_fetch_array($result))
{
//tabla de datos
?>
<table>TU CODIGO DE HTML CON JAVASCRIPT , SI ACA USAS DATOS DE LA BASE DE DATOS, LOS OBTENES COMO TE MOSTRE ANTES..
y aca podes hacer lo q mostraste antes
<td align="center" valign="top" bgcolor="#FFFFFF"><span class="style10">$ '.$row["precio"].'</span></td>
</table>
<?php
}
mysql_free_result($result )
?>