<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Find nearest store page using PHP, mySQL and Google Maps</title>
	<atom:link href="http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/</link>
	<description>Developing the web, one page at a time.</description>
	<lastBuildDate>Thu, 17 May 2012 10:19:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: 06th Feb &#8211; 12th Feb&#8217;s work &#171; Clare&#039;s Niche</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-1084</link>
		<dc:creator>06th Feb &#8211; 12th Feb&#8217;s work &#171; Clare&#039;s Niche</dc:creator>
		<pubDate>Sun, 12 Feb 2012 21:37:24 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-1084</guid>
		<description>[...] calculates how far the reserves are from the user&#8217;s inputted postcode.  Using a tutorial (http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/) I was able to create the distance [...]</description>
		<content:encoded><![CDATA[<p>[...] calculates how far the reserves are from the user&#8217;s inputted postcode.  Using a tutorial (<a href="http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/" rel="nofollow">http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/</a>) I was able to create the distance [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tony</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-1083</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Sat, 11 Feb 2012 16:45:53 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-1083</guid>
		<description>I am having problem with JSON. It seems that google was changing the request output f.e.&quot;$geocode[0]&quot;. Besides that, nice work, thanks</description>
		<content:encoded><![CDATA[<p>I am having problem with JSON. It seems that google was changing the request output f.e.&#8221;$geocode[0]&#8220;. Besides that, nice work, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kevin davies</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-261</link>
		<dc:creator>kevin davies</dc:creator>
		<pubDate>Fri, 25 Mar 2011 10:51:33 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-261</guid>
		<description>Postcode.org.uk currently is geared for postcode to postcode distance calculations in the UK - similar travel distance calculators for other countries will be added in the near future.&lt;a href=&quot;http://www.postcode.org.uk&quot; rel=&quot;nofollow&quot;&gt;postcode distance calculator&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Postcode.org.uk currently is geared for postcode to postcode distance calculations in the UK &#8211; similar travel distance calculators for other countries will be added in the near future.<a href="http://www.postcode.org.uk" rel="nofollow">postcode distance calculator</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-30</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 16 Sep 2009 23:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-30</guid>
		<description>A full UK postcode location file has been leaked as a CSV.  As Google&#039;s postcode lookup isn&#039;t that accurate, I&#039;d recommend trying it out.  

For more details check &lt;a href=&quot;http://www.guardian.co.uk/technology/blog/2009/sep/16/wikileaks-postcode-file-free-data&quot; rel=&quot;nofollow&quot;&gt;the Guardian blog&lt;/a&gt; by &lt;a href=&quot;http://twitter.com/charlesarthur&quot; title=&quot;Charles Arthur&quot; rel=&quot;nofollow&quot;&gt;@charlesarthur&lt;a/&gt;</description>
		<content:encoded><![CDATA[<p>A full UK postcode location file has been leaked as a CSV.  As Google&#8217;s postcode lookup isn&#8217;t that accurate, I&#8217;d recommend trying it out.  </p>
<p>For more details check <a href="http://www.guardian.co.uk/technology/blog/2009/sep/16/wikileaks-postcode-file-free-data" rel="nofollow">the Guardian blog</a> by <a href="http://twitter.com/charlesarthur" title="Charles Arthur" rel="nofollow">@charlesarthur<a /></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saikat</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-29</link>
		<dc:creator>Saikat</dc:creator>
		<pubDate>Mon, 03 Aug 2009 09:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-29</guid>
		<description>I agree with Jamie, Google discards last 2 digits of postcode following a complaint from Royal Mail. Full postcode to latitude longitude data is Royal Mail proprietory and they sell it for £2000/year!</description>
		<content:encoded><![CDATA[<p>I agree with Jamie, Google discards last 2 digits of postcode following a complaint from Royal Mail. Full postcode to latitude longitude data is Royal Mail proprietory and they sell it for £2000/year!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-28</link>
		<dc:creator>David</dc:creator>
		<pubDate>Wed, 24 Jun 2009 12:46:09 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-28</guid>
		<description>@Jamie: Yes.  The postcode needs to be in single quotes.  See line 35 of the listing above - it&#039;s been updated.</description>
		<content:encoded><![CDATA[<p>@Jamie: Yes.  The postcode needs to be in single quotes.  See line 35 of the listing above &#8211; it&#8217;s been updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-27</link>
		<dc:creator>Jamie</dc:creator>
		<pubDate>Tue, 23 Jun 2009 15:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-27</guid>
		<description>Hi your SQL statement:

SELECT ROUND( 3963.0 * ACOS( SIN( *PI()/180 ) * SIN( latitude*PI()/180 ) + COS( *PI()/180 ) * COS( latitude*PI()/180 ) * COS( (longitude*PI()/180) - (*PI()/180) ) ) , 1) AS distance, store_name, postcode, postal_address, latitude, longitude FROM stores WHERE postcode = NR11HU ORDER BY distance ASC LIMIT 0, 10

Causes the following error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;*PI()/180 ) * SIN( latitude*PI()/180 ) + COS( *PI()/180 ) * COS( latitude&#039;

Any advice?</description>
		<content:encoded><![CDATA[<p>Hi your SQL statement:</p>
<p>SELECT ROUND( 3963.0 * ACOS( SIN( *PI()/180 ) * SIN( latitude*PI()/180 ) + COS( *PI()/180 ) * COS( latitude*PI()/180 ) * COS( (longitude*PI()/180) &#8211; (*PI()/180) ) ) , 1) AS distance, store_name, postcode, postal_address, latitude, longitude FROM stores WHERE postcode = NR11HU ORDER BY distance ASC LIMIT 0, 10</p>
<p>Causes the following error:<br />
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;*PI()/180 ) * SIN( latitude*PI()/180 ) + COS( *PI()/180 ) * COS( latitude&#8217;</p>
<p>Any advice?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-26</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 09 Mar 2009 22:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-26</guid>
		<description>@Thorsten, @Andrew Paget, @Brandon: 
Thanks for the interest.  I&#039;ve added a little to the PHP code sample.  It now includes the MySQL query and execution.

Also, here&#039;s an excellent alternative article  excellent article &#8212; &lt;a href=&quot;http://code.google.com/apis/maps/articles/phpsqlsearch.html&quot; onclick=&quot;javascript:pageTracker._trackPageview(&#039;/outbound/article/http://code.google.com/apis/maps/articles/phpsqlsearch.html&#039;);&quot; rel=&quot;nofollow&quot;&gt;Creating a Store Locator with PHP, MySQL &amp; Google Maps&lt;/a&gt; from Google.

@Jamie Thompson: 
Sorry, not sure about that one I&#039;m afraid.</description>
		<content:encoded><![CDATA[<p>@Thorsten, @Andrew Paget, @Brandon:<br />
Thanks for the interest.  I&#8217;ve added a little to the PHP code sample.  It now includes the MySQL query and execution.</p>
<p>Also, here&#8217;s an excellent alternative article  excellent article &mdash; <a href="http://code.google.com/apis/maps/articles/phpsqlsearch.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/http://code.google.com/apis/maps/articles/phpsqlsearch.html');" rel="nofollow">Creating a Store Locator with PHP, MySQL &#038; Google Maps</a> from Google.</p>
<p>@Jamie Thompson:<br />
Sorry, not sure about that one I&#8217;m afraid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-25</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Mon, 02 Mar 2009 21:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-25</guid>
		<description>Hey,

I dont know if im missing something or not, but the build the search results page section definitely isnt complete?

Maybe its because you say its basic and to provide your own MVC framework, but i dont actually know what one of those is.

Can you in anyway provide a complete working demo which can be adjusted to work?</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I dont know if im missing something or not, but the build the search results page section definitely isnt complete?</p>
<p>Maybe its because you say its basic and to provide your own MVC framework, but i dont actually know what one of those is.</p>
<p>Can you in anyway provide a complete working demo which can be adjusted to work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Paget</title>
		<link>http://davidsimpson.me/2008/09/28/find-nearest-store-page-using-php-mysql-and-google-maps/#comment-24</link>
		<dc:creator>Andrew Paget</dc:creator>
		<pubDate>Mon, 02 Mar 2009 09:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://davidsimpson.me/?p=6#comment-24</guid>
		<description>Hi

This lloks quite interesting. Do you have a sample page that includes the MySQL query and the search form that I could take a look at?

Thank you</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>This lloks quite interesting. Do you have a sample page that includes the MySQL query and the search form that I could take a look at?</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>

