my-programming-tutorials-logo

My Programming Tutorials

How to create Pagination with PHP and MySql

Last updated on by , 72 comments

create pagination in PHP

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

Find Distance Between two Addresses using Google API and PHP

Last updated on by , 30 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 , 49 comments

post into facebook page using php

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 , 1 comment

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

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 »