php Ocorreu o erro…

Informações Técnicas
Tipo de Erro256
Descrição do ErroYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by ordem' at line 1
URLwww.maletti.com.br/produto_detalhes.php?produto=voce-conhece-o-nosso-spa-dos-pes
Arquivo de Erro/home/storage/a/36/73/maletti2/public_html/administrator/connections/MySQLiConnection.php
Linha com Erro125
Consulta de SQLselect arquivo from produtofoto where ProdutoId = order by ordem

More info