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 Paritosh Pandey , 44 comments
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 Paritosh Pandey , 64 comments
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 Paritosh Pandey , 7 comments
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 »
Close or Hide DIV when clicking outside
Last updated on by Paritosh Pandey , 8 comments
In this tutorial, I’m gonna demonstrate you how to track if a click event is being made outside of an HTML element. Through this example, we are going to close or hide div using Jquery when a click action occurs outside of that element on which the DIV was produced by clicking. If you have ever… Read More »
Resize Image Without Stretching in Codeigniter
Last updated on by Paritosh Pandey , 3 comments
By this article “resize an image without stretching in CodeIgniter” I’m going to show you the mathematics and logic of resizing an image to a different width and height without squeezing or stretching the original image. If the destination image contains a different aspect ratio than the source image, then the source image will be cropped… Read More »