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.…

How to create a Custom Module in Drupal 7

drupa7

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

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 …

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

<?php 

/***
*	Image converter Script by Agurchand 
*	Find the script at Theonlytutorials.com	

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 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 …

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
Agurchand