FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Calculate the distance between 2 points
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Calculate the distance between 2 points [message #171334 is a reply to message #171316] Thu, 30 December 2010 13:10 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 12/30/2010 4:37 AM, Bill Braun wrote:
> On 12/30/2010 4:31 AM, The Natural Philosopher wrote:
>> Bill Braun wrote:
>>> On 12/29/2010 8:23 PM, Thomas 'PointedEars' Lahn wrote:
>>>> Sarah wrote:
>>>>
>>>> > I know this
>>>> >
>>>> > $distanceValue =
>>>> > rad2deg(acos(sin(deg2rad($LATITUDINE1))*sin(deg2rad($LATITUDINE2))
>>>> >
>>>> +cos(deg2rad($LATITUDINE1))*cos(deg2rad($LATITUDINE2))*cos(deg2rad($LONGITU DINE1-
>>>>
>>>>
>>>> > $LONGITUDINE2))))*69.09;
>>>> >
>>>> > or something like this.... but I don't want to have all records of DB
>>>> > and than analize them one by one .... I want a query the return only
>>>> > nearest values
>>>>
>>>> So RTFMySQLM.
>>>>
>>>>
>>>> PointedEars
>>>
>>> It seems to be the time of year, or possibly the lunar cycle, for
>>> bullies to crawl out from under their rocks.
>>
>>
>> No. its the time of year when thick students who haven't done their
>> coursework expect someone else to do it for them.
>>
>>
>>> Is this place the meeting ground of choice for miserable people?
>>>
>>
>> No, its a place where people who should have listened to lectures, come
>> for answers they have actually learnt already.
>>
>>
>>> You can express an opinion in decent, respectful language. But crude
>>> and insulting behavior gets no pass from me.
>>>
>>
>> And students who cheat and crib get no pass from me either.
>
> Such points can be made, as forcefully as you wish, in a respectful
> tone. There is no need or reason to belittle or demean.
>
> Bill B

No, Bill, it is necessary for TNP to belittle and demean. He needs to
feel superior to everyone else.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Checking equal number of <div> and </div>
Next Topic: extract variable from an array
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 07:22:36 GMT 2024

Total time taken to generate the page: 0.04150 seconds