Codeigniter 3 – Upload file and insert data into database!

NOTE: This tutorial requires the basic knowledge of Codeigniter to understand it.

In this post, we are going to see how to upload a file using the Codeigniter 3 framework and save the uploaded file data into the database.

I …

Insert data into database using AngularJS and PHP!

In this post, we are going to see how we can fetch from and insert data into MySQL database using AngularJS and PHP.

I am using PHP mysqli to insert records into the database. This tutorial is more concentrated on …

Let’s create a simple custom module in Drupal 8

In this post i am going to show you how you can write a simple Drupal 8 module which will print “Hello world from custom module”.

There are numerous differences between Drupal 7 and Drupal 8.  Especially folder structure, If …

PHP Script to add or subtract days, months, years to a Date!

Here is another Interesting PHP script which you can use it in your project. A PHP script to add or subtract days, months and years to date.

Preview:

php-add-days-months-year

Adding days or months or year to a date in PHP is …

jQuery – Add options to select box dynamically

In this post, you will learn how to add (append) options to an existing select box (dropdown) dynamically using jQuery.

Let’s see the script

<!DOCTYPE html>
<html>
    <head>
        <title>jQuery Script - Add options to select box dynamically</title>
        <meta charset="UTF-8">
        <meta 

jQuery Ajax File upload with Percentage Progress bar

I have already written a similar post long back using jQuery form Plugin if you wish you can see the link below:

PHP jQuery AJAX Image Upload Script download and use it!

Before going through the script you can see …

How to provide ‘Select all checkboxes’ option in Drupal 7

Drupal has provided Form API’s to create checkboxes easily unfortunately it didn’t offer a select all / deselect all checkboxes option.

But no worries, there are plenty of contributed modules are present in Drupal site which will help us to …

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 …

Theme: Overlay by Kaira
Agurchand