July 2015

How to Insert data in Google Spreadsheet using PHP?

Source: http://karl.kranich.org/2015/04/16/google-sheets-api-php/
Google has been sending out messages saying that several of their APIs are going to be discontinued (for example, the Document List API).  As a result, I tried to modify my custom Google Spreadsheet-populating PHP script to use the new Drive API.  After way too much wasted time, I discovered that the Drive API can create sheets and read […]

How to move an array Element to any other index?

  […]

how to create custom admin page?

In this article I’ll show how to create custom page for admin panel.

  […]

How to setup Google reCaptcha Version 2.0?

To setup Google reCaptcha oepn url https://www.google.com/recaptcha/admin and fill form as shown in the screenshot below:

After registration open newly created reCaptcha site and read the guide provided by google as shown below:

Now paste  <script src='https://www.google.com/recaptcha/api.js'></script>  in <head> or anywhere before use of captcha.

And then paste  <div class="g-recaptcha" data-sitekey="6LcPQggTAAAAAAw-SQm8KTEW-N1CBuzBz_gW71UT"></div> to the place where you want to show captcha in form and obviously you will have to use tag with […]

PHP: How to search and replace string from complete database using PHP

If you want to search and replace string from entire database (from all tables of any database) using php then use following code.

Just use your database credentials and it will work like charm.

Credits: Mark Jackson […]

MySQL: How to duplicate a row using SQL ?

Use following SQL query to duplicate any single row. Use your own field names to make this working in your case.

  […]