
Search In
This code will help in finding the latitude and longitude of any place using curl and php.
Step 1: Finding the latitude and longitude for first place.
<?php
ini_set('error_reporting', E_STRICT|E_ALL);
ini_
Block are piece of code introduced in ios 4.0. Block are used to make code cleaner and reduce dependency from delegates.
To use the block first we have to declare the block and then its definition.
Here is the syntax to declare to the Block.
retur
Block access the data in normal way as the other normal function do. Block can access any class variable or function variable out side it but cannot modified it.
int x= 111;
void (^printXAndY)(int) = ^(int y) {
printf("%d %d\n", x, y);
};
print
The following example can be used to refer if any posts exist.
It have two functions like 'have_posts()' and 'the_post()'.
The function 'have_posts()' checks to see if the current wordpress query has any results(post) to loop over, and the function
To use soap api to add a products of categories into root category , first we need to create a magento user with the permission to access the api.
Following code will be use to set products to root category
$soap = new SoapClient('http://magentose
The IndexedDB is used to solve the problem of offline storage mechanisms that are supported by all the major browsers.It uses WebSQL implemented in browsers like Opera and Safari to expose IndexedDB API for web applications.
Websites are able to use
Hello
Today I am going to discuss about the use of WebSql in Phonegap.
In Phonegap, if you want to store data locally on device, Web SQL can be used. Most of the sql queries can be performed in Web sql using method openDatabase that takes 4 argumen
Suppose I have parent pages A1 and B1. A1 has child pages A1.1, A1.2,A1.3 and B1 has child pages B1.1, B1.2. I want to list all the respective child pages on A1 and B1. In every child page I have an image and a title.
These 2 information needs to be
While sending internal message on a system people usally share there phone number and making call outside the system which divert traffic from our system. So while exchanging messages within system we need to hide the phone number. This can be achiev
By using google api we can find the location
public function getAddressByLatLong($loclatitude='',loclongitude='')
{
$loclatitude=trim($loclatitude);
$loclongitude=trim($loclongitude);
$apiurl = 'http://maps.googleapis.com/maps/api/geocod
