I-PHP kunye ne-SQL: Bala okanye ubuze uMjikelo oMkhulu weSangqa phakathi kweNqaku leLatitude kunye ne-Longitude ngeFormula yeHaversine

Kule nyanga bendicwangcise kancinci kwi-PHP nakwi-MySQL ngokubhekisele kwi-GIS. Ukulala ujikeleze umnatha, eneneni bendinobunzima ekufumaneni ezinye zezibalo zeJografi ukufumana umgama phakathi kweendawo ezimbini ngenxa yoko ndifuna ukuzaba apha. Indlela elula yokubala umgama phakathi kwamanqaku amabini isebenzisa ifomula yePythagorean ukubala i-hypotenuse kanxantathu (A² + B² = C²). Yi le