my-programming-tutorials-logo

My Programming Tutorials

How to create Pagination with PHP and MySql

Last updated on by , 218 comments

How to create Pagination with PHP and MySql

In this tutorial, we are going to create pagination with PHP and MySql. It is probably possible that your SQL SELECT query may return results into thousand and millions of records. And it is obviously not a good idea to display all those results on a single page. So we can split this result into multiple… Read More »

Find Distance Between two Addresses using Google API and PHP

Last updated on by , 44 comments

Find Distance Between two Addresses using Google API and PHP

In this article, you are going to learn that, how to create a distance calculator sort of module which can find distance between two addresses. We are going to use google map API and PHP to accomplish this task. View Demo The distance calculator module we are going to develop here is basically an API provided by The Google… Read More »

Post into Facebook Page using PHP SDK v5

Last updated on by , 64 comments

Post into Facebook Page using PHP SDK v5

In this article, we are going to learn how you can directly post into facebook page using PHP from your website or through your own platform. There are lots of companies available on the Internet which provides such kind of services i.e. Hootsuite, Sproutsocial & Socialbakers etc. Facebook always tries to motivate developers, to build such kind of… Read More »

Facebook like time ago system in php

Last updated on by , 7 comments

Facebook like time ago system in php

In this tutorial, we are going to learn how to make Facebook like time ago system in PHP. In my previous post we have learnt How to close a DIV container when clicking outside using Jquery, I know it’s kinda off topic, because in this topic we are going to learn to convert timestamp to time… Read More »

Get Users Latitude and Longitude using Google Place API and PHP

Last updated on by , 3 comments

Get Users Latitude and Longitude using Google Place API and PHP

This tutorial is prepared for those Developers who want to get users latitude and longitude. This can be done by many methods, here I’m going to use Google Place API to make such things easier. The method and logic I’m going to use is when user fills the registration form up, we’d capture his city value (Note:… Read More »

Autocomplete Address Search Module Using Google API and PHP

Last updated on by , 9 comments

Autocomplete Address Search Module Using Google API and PHP

Today I’m going to show you how you can add an autocomplete address search module on your website using Google Place API web service. In our autocomplete address search module we have used a Jquery plugin named Select2, for type and search feature to our module. SEE DEMO HERE Steps to implement an autocomplete address search module… Read More »