![]() |
Join Tables with Distance Calculation
I am trying to join two tables together. First is a calendar of events with lat/lng sorted by distance. I also need to get the business information from the directory table.
This one works without joining the tables without the JOIN: PHP Code:
PHP Code:
|
Are you using MySQL? Join statement do not use HAVING, they use ON.
|
| All times are GMT. The time now is 10:32 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0