Category: PHP Tutorials

How to reset admin password in Drupal 7?

Did you forget your admin password of Drupal 7?.
Well, this solution might help you to reset the password. The only thing you need is the database access of your server.

Now, lets see how we can reset the password.

Step …

How to create a Custom Module in Drupal 7


What do you learn learn from this post?

  1. You will learn how to create a custom module in Drupal 7.
  2. You will learn how to create custom table using hook_schema() in Drupal 7.
  3. You will learn how to insert data into the

Convert Div to image using jQuery, PHP & HTML Canvas

Hi Friends, It’s been a long time, so today I’m writing an interesting topic about how to capture a DIV content and save it as an image using PHP.

And I didn’t stop simply capturing any div but also giving an …

Convert Image to JPG, PNG & GIF in PHP

Here I’m coming up with a new PHP class, which will help you to convert any uploaded image to JPG, PNG and GIF.

Class name: image_converter.php


*	Image converter Script by Agurchand 
*	Find the script at	

How to store image in MySQL database with PHP


If you are a newbie PHP developer, you will not easily get the idea of storing images in the database, but the answer is very simple, you are not going to store the actual image in the database but …

PHP PDO SQLite Example – Insert, Read, Search


In this lesson you are going to learn the below stuffs:

1. How to Create and connect to a database in SQLite using PDO.
2. How Create a table in SQLite
3. How to insert values into the SQLite

PHP mysqli prepared statement insert example

MySQLi is the improved version of MySQL extension and it has more feature which is included in PHP Version 5.

The advantage using MySQLi is:

1. Prevent SQL Injection
2. Able to Prepare statement and bind params.
3. OOPS Interface and …

Highcharts – load JSON data via Ajax and PHP!

Highcharts is a popular JavaScript for creating easy and interactive charts, but you know it is also possible to make it dynamic by pulling the data from the database using server-side scripts. In this tutorial I have used PHP as

Theme: Overlay by Kaira