They give different results because those queries are not the same. They have different latitudes and longitudes.
For example the latitude in one is ‘43.2832512’ but in the other it’s 43.5586. They aren’t even the same data type.
The long/lat in your prepare statement is for a park to the east of marseille, the one in your SQL query though is in the town of coudoux, ~36km away to the north west:
Related Posts:
- Get url of product’s images (woocommerce)
- How can i create a WooCommerce product programatically or using sql query?
- Programmatically adding product attributes to WP / Woo commerce
- Woocommerce PHP site that shows table with orders from specific category
- How to select from two different tables to display orders list with custom column from other table
- How to delete all customer user account that haven’t placed a single order?
- 600k of option_name “c_facebook_background_product_sync_job”
- DELETE WooCommerce Order data from database
- Get decimal from product price with Mysql
- WooCommerce – 500k Jump in Order Number?
- Deleted products from woocommerce are still in the database
- How to merge 2 accounts with same email address after merge of 2 woocommerce databases
- Update WooCommerce stock status with SQL query if stock value is greater than 0
- Update a list of product to featured if product have meta value (Mysql not wpquery)
- MySQL error or data corruption after database migration
- Query product’s image path by category WooCommerce database?
- Update a user meta key based on WooCommerce product purchase
- Mysql query – amount spent by customer
- How Fragile Is DB if I Upload Completely Updated Files
- In woocommerce some products have empty options, but how to check this
- PHP Warning: Error while sending QUERY packet
- Update WooCommerce Short Description using SQL
- Export Woocomerce Image Product URL
- To many WooCommmerce related transients in WordPress options table
- How to add a new endpoint in woocommerce
- Slow Loading Attribute Select – WooCommerce Backend
- Display orders instead of woocommerce my account dashboard for logged in users [closed]
- Detect whether a page is a product subcategory page?
- Get WooCommerce Email Classes in Backend
- Use Hooks to Limit One Comment Per User Per Post – Hide Form if Already Commented
- WooCommerce is slow with many categories [closed]
- How to remove recurring totals information for a particular subscription product? [closed]
- WordPress codex: apply_filters – clarification on creating a new hook on the fly. How do we use it?
- Woocommerce – Move product without price a the end
- How to get all attributes with their terms related to specific Woocommerce product category [closed]
- Extra row / text field to a product page (WooCommerce)
- woocommerce_email_attachments filter arguments [closed]
- Child theme dosn’t overwrite WooCommerce (version 3.4.7)
- How to Show Single Product – 4 Data by ID in Custom Page without over-riding the existing Woo-Commerce
- WOOCommerce redirect after registration to account details
- How can I add an additional action button into the woocommerce admin order page?
- How to add a custom text for order confirmation email template woocommerce
- woocomerce is serving OR Relation instead of AND on taxonomy product_tag
- Woocommerce Subscriptions – Set Billing Interval/Period
- WooCommerce with ACF: custom fields per product variation
- Woocommerce checkout page reload on up dating shipping method
- change wp_login url and redirect users at the same time
- How to clear woocommerce checkout form after pageload
- Is there a plugin available for recurring orders in Woocommerce? [closed]
- call_user_func_array() error in class-wp-hook.php
- Error after woocommerce update from 2.6 to 3.5 [closed]
- Send billing info from woocommerce checkout page to paypal checkout form
- Check if a category has a parent category in WooCommerce REST API
- Remove a higher quantity from stock according to a variation
- Dropdown menu not displaying WordPress
- Woocommerce product editor does not add br
- How can I edit the Woocommerce product widget html class?
- Can’t show Woocommerce product category description
- Create new email in WooCommerce
- Display vendor phone number on single product page
- 3 Different Prices for Woocommerce Product
- Unable to add product to the cart
- How to create a WooCommerce Product filter based on PHP foreach
- Use ID as slug for product category by default in WooCommerce?
- Woocommerce : Add name filed of checkout page to buyers wordpress display name
- WooCommerce return 404 in the product page
- How to remove Calendar on Woocommerce Category Pages
- Collapsible product categories on sidebar?
- Adding a second button next to the shop button Woocommerc [closed]
- How to set subcategory in Woocommerce?
- Woocommerce – How to Show product tags in shop page
- Bulk edit orders to ‘wc-processing’ status
- Woocommerce Order Reports MYSQL
- woocommerce price filter not working when change currency
- With what hook do I remove WooCommerce existing Product Data Tab form fields?
- After update Woocommerce shop page not showing products
- Add youtube embed to woocommerce variations
- WooCommerce – Large number of product variations (200+)
- Add custom link/pop up under variations dropdown
- Problem in woocommerce.The option “Add product image” is gone.Please help me!
- Woocommerce: Some action hooks not firing inside class [closed]
- WooCommerce: Conditional Tag for Wishlist Page
- Display x number of terms and exclude hidden
- Hide woocommerce login form
- How to move WooCommerce Product Data Box below Title Box in Edit
- Create a WordPress Database query to find users who purchased specific product through WooCommerce [closed]
- How to show Woocommerce add to cart form for variable product on custom location [closed]
- Adding more information to a Content Product Category
- Woocommerce | Product page seems differently on my 2 websites
- How to change “reply to” email address for specific Woocommerce products
- Woocommerce API REST search by multiple keywords
- woocommerce change tax rate with checkbox
- How to handle WordPress account for terminated employee
- WooCommerce Pruduct and Category Grid costumization [closed]
- Error: DNS_PROBE_FINISHED_NXDOMAIN WordPress / Woocommerce
- Calculate order end date based on date and number of weeks ACF fields
- Football kit management system in WordPress
- Display List of Products With Missing Attribute?
- Removing unwanted role after purchase
- How to Filter Products Based on Categories on the Cart Page?
