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 '°,2)+POW(a.y--17.4869°,2) as distance FROM fiches as a, rel_sites_fiches as b WH' at line 1 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /srv/www/html/www.tahitiheritage.pf/include/fonctions.php on line 379