returning coordinates in php