Query:
SELECT * FROM `Profiles`
WHERE (`Profiles`.`Couple` = 0 OR `Profiles`.`Couple` > `Profiles`.`ID`) AND `Avatar`
ORDER BY `distance` ASC
LIMIT 0, 10 Mysql error: Unknown column 'distance' in 'order clause'
Found error in the file '/var/www/vhosts/badboydating.dk/httpdocs/xmlrpc/BxDolXMLRPCSearch.php' at line 83.
Called 'db_res' function with erroneous argument #0.