Y también tienes otro, donde dices:
Código PHP:
//
//
//
echo " </tr>
<tr>
<td width="68"><img src='imagenes/botones/bver.gif' width=68 height='30' /></td>
<td width="75"><img src='imagenes/botones/bcomprar.gif' width='77' height='30' /></td>
</tr>
</table>";
Debería ser:
Código PHP:
//
//
//
echo " </tr> "
."<tr> "
."<td width=\"68\"><img src='imagenes/botones/bver.gif' width=68 height='30' /></td>"
."<td width=\"75\"><img src='imagenes/botones/bcomprar.gif' width='77' height='30' /></td>"
."</tr> "
."</table>";
O sea, si vas a usar un echo por varias líneas, tienes que concatenarlas con el signo de punto (.)