Category: PHP

Backup/Restore MySql database using PHP

In this post, we will be backing up and restoring database easily using PHP. The basic idea is to dump database table structure and data into a SQL file for backing up. While restoring, the SQL queries dumped into the file are executed one after another.

PHP API for Current Bitcoin Price

According to Wikipedia, Bitcoin is a cryptocurrency, a form of electronic cash.  Cryptocurrency is basically a digital currency in which encryption techniques are used to regulate the generation of units of currency and verify the transfer of funds, operating independently of a central bank. A cryptocurrency is a digital or virtual currency designed to work

Messenger Bot Subscription Using Broadcast API in PHP

If you are planning to implement Subscription System in Messenger Bot, here is a good news. With the release of Broadcast API, sending message to numerous recipients has been so much easier. In this article, I am going to discuss how to broadcast message to multiple users through Messenger Bot.

Transparent Circular Crop using PHP GD

The GD library is a graphics drawing library that provides tools for manipulating image data. We can perform various operations and manipulations with image using this powerful library. In this article, I will show how to crop an image to transparent circular image using PHP GD Library.

Bulk Insert Update into MySQL using PHP

Sometimes we need to insert large data set into database table. Using one INSERT statement per row is quite inefficient. Instead of this, we can assemble one INSERT statement with multiple rows. In this article, I am going to show how to perform bulk insert into MySQL table using PHP.

Search YouTube videos using YouTube API 3.0

In this post, I'll share how to search YouTube videos by using YouTube Data API v3 and PHP. I'll show how to search videos by type (video, channel, playlist), keywords and other search terms. In addition to this, I'll show how to order the result by various parameters. After reading this article, you can make search