Skip to content
Advertisement

How to get records between two latitudes and longitudes using Laravel, php [closed]

enter image description here

here what I tried to get but it returns empty between 2 given coordinates

JavaScript

Advertisement

Answer

Check datatype

Use a numeric database column type. Example of errors with a text/varchar column:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement