<?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: MySql City, State, Zip, Latitude, Longitude Database</title>
	<atom:link href="http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/</link>
	<description>Just another web development portfolio.</description>
	<lastBuildDate>Mon, 30 Jan 2012 02:34:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ron Jones</title>
		<link>http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/comment-page-1/#comment-652</link>
		<dc:creator>Ron Jones</dc:creator>
		<pubDate>Sun, 26 Jun 2011 18:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://jesseprice.com/?p=714#comment-652</guid>
		<description>Have a look at &lt;a href=&quot;http://worldcitiesdatabase.info&quot; rel=&quot;nofollow&quot;&gt;http://worldcitiesdatabase.info&lt;/a&gt;

They offer a great database of world cities for less than five bucks. Unlike the free databases containing millions of entries, this one only has about 70 thousand entries, which makes it ideal for city selector scripts. Otherwise, it takes forever to populate the selectors.</description>
		<content:encoded><![CDATA[<p>Have a look at <a href="http://worldcitiesdatabase.info" rel="nofollow">http://worldcitiesdatabase.info</a></p>
<p>They offer a great database of world cities for less than five bucks. Unlike the free databases containing millions of entries, this one only has about 70 thousand entries, which makes it ideal for city selector scripts. Otherwise, it takes forever to populate the selectors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/comment-page-1/#comment-649</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sun, 08 May 2011 12:15:20 +0000</pubDate>
		<guid isPermaLink="false">http://jesseprice.com/?p=714#comment-649</guid>
		<description>Thanks man really just need this for the database very helpful mate

Cheers</description>
		<content:encoded><![CDATA[<p>Thanks man really just need this for the database very helpful mate</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanket Patel</title>
		<link>http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/comment-page-1/#comment-639</link>
		<dc:creator>Sanket Patel</dc:creator>
		<pubDate>Thu, 20 Jan 2011 19:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://jesseprice.com/?p=714#comment-639</guid>
		<description>Hi Jesse,

Nice work. Keep it up.
If you are not addicted to PHP (Joking) then you can use this MySQL solution given below (Not joking) to upload data given in zipcode database.
-----------------------------------------------------------------------------
CREATE TABLE geoInfo(zipcode INT PRIMARY KEY,latitude VARCHAR(15),longitude VARCHAR(15),stateCode VARCHAR(10),city VARCHAR(20),county VARCHAR(20));


LOAD DATA LOCAL INFILE &#039;/home/sanket/Desktop/zipcodes.txt&#039; INTO TABLE geoInfo FIELDS TERMINATED BY &#039;&#124;&#124;&#039; LINES TERMINATED BY &#039;\n&#039;;

-----------------------------------------------------------------------------</description>
		<content:encoded><![CDATA[<p>Hi Jesse,</p>
<p>Nice work. Keep it up.<br />
If you are not addicted to PHP (Joking) then you can use this MySQL solution given below (Not joking) to upload data given in zipcode database.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
CREATE TABLE geoInfo(zipcode INT PRIMARY KEY,latitude VARCHAR(15),longitude VARCHAR(15),stateCode VARCHAR(10),city VARCHAR(20),county VARCHAR(20));</p>
<p>LOAD DATA LOCAL INFILE &#8216;/home/sanket/Desktop/zipcodes.txt&#8217; INTO TABLE geoInfo FIELDS TERMINATED BY &#8216;||&#8217; LINES TERMINATED BY &#8216;\n&#8217;;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Price</title>
		<link>http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/comment-page-1/#comment-635</link>
		<dc:creator>Jesse Price</dc:creator>
		<pubDate>Wed, 29 Dec 2010 04:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://jesseprice.com/?p=714#comment-635</guid>
		<description>Sorry for not using explode and using split... Also file vs file_get_contents.  I wrote this in my early days of php3 programming where the explode function did not exist.  Also file returns an array and file_get_contents returns string so I figured that using file_get_contents then using a string manipulating function would suffice... I should update the code since split is now deprecated as of php 5.3...</description>
		<content:encoded><![CDATA[<p>Sorry for not using explode and using split&#8230; Also file vs file_get_contents.  I wrote this in my early days of php3 programming where the explode function did not exist.  Also file returns an array and file_get_contents returns string so I figured that using file_get_contents then using a string manipulating function would suffice&#8230; I should update the code since split is now deprecated as of php 5.3&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/comment-page-1/#comment-633</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 25 Nov 2010 17:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://jesseprice.com/?p=714#comment-633</guid>
		<description>Thanks great job! I&#039;m currently working on Flex application and I needed this..</description>
		<content:encoded><![CDATA[<p>Thanks great job! I&#8217;m currently working on Flex application and I needed this..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xeoncross</title>
		<link>http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/comment-page-1/#comment-628</link>
		<dc:creator>Xeoncross</dc:creator>
		<pubDate>Wed, 10 Nov 2010 19:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://jesseprice.com/?p=714#comment-628</guid>
		<description>Please use explode() and file() instead of split() and file_get_contents().

&lt;code&gt;

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Please use explode() and file() instead of split() and file_get_contents().</p>
<p><code></p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dalitec</title>
		<link>http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/comment-page-1/#comment-626</link>
		<dc:creator>dalitec</dc:creator>
		<pubDate>Wed, 06 Oct 2010 19:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://jesseprice.com/?p=714#comment-626</guid>
		<description>Jesse

Thank you so much for sharing this. I tested it on a web server and it worked like a charm. Just a note. Becuase the zip code is set up as an integer it deletes all the prefix zeros of the zip code. So zipcode 00871 will only show up as 871 in the zipcode column. I am thinking about setting the zipcode field as char or varchar and change the table creation as needed, modify the primary key and load the data. I have not done that yet. If I get that working, I will share my change here.

Dal</description>
		<content:encoded><![CDATA[<p>Jesse</p>
<p>Thank you so much for sharing this. I tested it on a web server and it worked like a charm. Just a note. Becuase the zip code is set up as an integer it deletes all the prefix zeros of the zip code. So zipcode 00871 will only show up as 871 in the zipcode column. I am thinking about setting the zipcode field as char or varchar and change the table creation as needed, modify the primary key and load the data. I have not done that yet. If I get that working, I will share my change here.</p>
<p>Dal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Desire</title>
		<link>http://jesseprice.com/mysql-city-state-zip-latitude-longitude-database/comment-page-1/#comment-548</link>
		<dc:creator>Desire</dc:creator>
		<pubDate>Tue, 15 Sep 2009 17:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://jesseprice.com/?p=714#comment-548</guid>
		<description>Thx Jesse, ok script.. but mysql add , update, delete how, pls help new script.
Thx.</description>
		<content:encoded><![CDATA[<p>Thx Jesse, ok script.. but mysql add , update, delete how, pls help new script.<br />
Thx.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

