Erro! Algo saiu errado - Erro(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1)...
SELECT * from tecidos_produtos as tp LEFT JOIN tecidos t ON t.idtecidos=tp.idtecidos WHERE idprodutos=