Recherche rapide avant inscription
select SQL_CALC_FOUND_ROWS id, username, frisky_default_pic, default_pic, about, tag, hobbies, orientation, seeking, gender, sign, bdate, (hits / (to_days(now()) - to_days(registered))) as score, zone, srch_city_nm, country, province from users where (account_Type = 'dual' or account_type = 'admin' or account_type = 'normal') and active = 1 and gc_distance(, , lat, lon) <= '∨ientation=' order by score desc limit 120, 20 -- 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 ' , lat, lon) <= '∨ientation=' order by score desc limit 120, 20' at line 1