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 - SP') AND (`p`.`UF` LIKE 'SP') 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`!='6260' AND (`p`.`nome`!='' OR `p`.`sobrenome`!='')) AND (`p`.`cidade` LIKE 'Santa Bárbara D'Oeste - SP') AND (`p`.`UF` LIKE 'SP') ORDER BY rand() LIMIT 6

Volta para o início