500

Internal Server Error

DB Error

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 'Oeste') AND (`p`.`UF` LIKE 'SC') ORDER BY rand() LIMIT 6' at line 1

Query

SELECT p.Indicativo,p.nome,p.sobrenome,p.cidade,p.UF,p.foto FROM gre_userperfil p WHERE (`p`.`id`!='4696' AND (`p`.`nome`!='' OR `p`.`sobrenome`!='')) AND (`p`.`cidade` LIKE 'Herval D'Oeste') AND (`p`.`UF` LIKE 'SC') ORDER BY rand() LIMIT 6

Volta para o inĂ­cio