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 'ORDER BY cartoes.nome DESC' at line 5

SQL: SELECT garotas_cartoes.*, cartoes.foto as cartoes FROM garotas_cartoes LEFT JOIN cartoes ON cartoes.id = garotas_cartoes.id_cartao WHERE garotas_cartoes.id_garota = ORDER BY cartoes.nome DESC

Filename: www.luxuryescortsrs.com.br/index.php

Timestamp: December 17, 2017, 7:29 pm

Server/User:mysql02.luxuryescortsrs.hospedagemdesites.ws/luxuryescortsrs1

IP:54.221.136.62