I need a self-made php function WITHOUT using frameworks like Yii, Zend, PEAR etc, to find members "nearby".
I need 2 functions:
1. which i can call nearBy('mycity', 'my country', 'kilometers distance') and have to returns array with the cities
near by "mycity" for distance for 10kilometers.
2. which i can call nearBy_km('FROM_MyCITY', 'FROM_myCountry', 'TO_ANOTHERCITY', 'TO_ANOTHERCOUNTRY'); has to returns the kilometers from myCity to anothercity.
Hello, I've already created similar functions and so I can make it within a day after you accept my bid. Regards, Tamas