Google Maps Geocoding Example with PHP

(adsbygoogle = window.adsbygoogle || []).push({});

Today’s code is a Google Maps geocoding example with PHP and we also use some Google Maps JavaScript to show the geo-coded data on the map.

You can use this code if you want to create a store locator. Why this is useful? Imagine if you have several addresses on your database, you will never want to manually pin point the latitude and longitude of each of those addresses.

That’s why we have the geocoding method. Just input the addresses and Google will try to identify the approximate location of that address.

The contents of this post include:


Yo App Super Funny Comments

yo app super funny comments

Few days ago, an app called “Yo” was released. Like the name suggests, the “Yo” app has one simple function: sending a single message: Yo.

How it works? You create a list of contacts. You tap one of those contacts, and they get a “Yo” message. According to the app’s description, it can mean pretty much whatever the sender wants it to mean, depending on context:


Product Unit of Measure Conversion Pseudocode

Unit of Measure Conversion Pseudocode

I don’t know if we will have the same term in mind, but here in our country we call it Product Unit of Measure or UOM. For example, we have a “candy” product. Possible unit of measures could be: pieces, packs and boxes.

The purpose of this post is to solve the problem of converting product quantity or inventory values in different unit of measures. I think SAP has this functionality. Just in case you want to have the same in your current program, keep on reading!

The following questions might give you some more ideas about this post:

How many box are 132 pieces?
How many box are 309 packs?
How much of a box are 33 pieces?
How much of a box are 5 packs?

…and many other combinations. So let’s get started!