Android: How to fix “null object reference” error (with code)

This post is specifically for a problem whose solution is usually hard to find (at least now). The solution is at the end. Basically, the problem lies in the referencing method being used to make reference towards the current activity. The solution is to make the referencing dynamic. Read below for solution with code example. Problem …

Read More

CodeIgniter 3 – Create your own Hello World with simple form and database!

In the previous tutorial, you you learnt how to remove the “index.php” from URL. Now, we are ready for the “Hello World!” complete with code.  GOALS! In this tutorial, we will learn CodeIgniter 3 MVC by making a Hello World! program, complete with database, introduction to CRUD operations, form, switching pages and code. We will cover a LOT in this …

Read More

CodeIgniter 3.0.1 Tutorial 3 – Getting Rid of “index.php” from URL (with download)

In the previous tutorial, you learnt about the purpose of each and every folder in the “/application/” folder of your web applicaiton. This is a short tutorial in which you will learn how to get rid of the “index.php” from the URL of your web application using a .htaccess file. Problem In a default installation of CodeIgniter 3, …

Read More

Tutorial 2 – CodeIgniter 3.0.1 Understanding application folder structure

Back to CodeIgniter Tutorials In the previous tutorial, you learn how CodeIgniter is downloaded, installed, and viewed the welcome screen to make sure that it worked. In this tutorial. you understand how the the purpose and working of \application folder in your CodeIgniter project. This tutorial is meant to be simple to understand so that new users of …

Read More

CodeIgniter 3 Tutorial 1: Download, Installation, Introduction and Welcome!

Back to CodeIgniter Tutorials This is the first part of CodeIgniter 3 tutorials. CodeIgniter 3.0 introduced a lot of upgrades over 2.x versions of CodeIgniter. Users who wish to upgrade to CodeIgniter 3 may have to perform changes as mentioned here in the official CodeIgniter 3.0 documentation. Here are my Tutorials for CodeIgniter: CodeIgniter 3 Tutorials …

Read More

Review and Tutorial: Mobirise! A FREE WYSIWYG Responsive website editor is out!

Designing a website requires an artist to be able to program in multiple languages. That person has to learn multiple languages and frameworks to be able to design like a boss! Such nonsense! This is 2015 and all you need is the Mobirise software on your desktop and you will be ready to go! Now I …

Read More

Codeigniter 2.20 – Sending E-mail using codeigniter

Back to CodeIgniter Tutorials In CodeIgniter, sending e-mail is a simple process. First the library is loaded. Then the user provides e-mail related data. Finally, the E-mail is sent. Here is how E-mail is sent using a Controller in CodeIgniter Load the E-mail library of CodeIgniter

Provide set of characters that are to be …

Read More

Laravel Tutorial 1 : Installation in XAMPP

Lets get it straight. “You want to install Laravel”. With this tutorial, I am starting a Laravel series. My tutorials are short and to the point. So lets get started without any fuss. Prerequisites Download Composer or visit their official website. Select “Install Shell Menus” in setup as shown. Press Next and point the setup to  the …

Read More

Codeigniter 2.20 – Autocomplete in Sublime Text

Back to CodeIgniter Tutorials Sublime text is a powerfully simple text editor that makes coding part of the development easier than it once was. Autocomplete for PHP, HTML, CSS Javascript is handled easily by Sublime text. But as I am writing, there is no native support for Codeigniter. Do you have to manually type the …

Read More

Codeigniter 2.20 – Uploading files to a folder and Inserting in Database table

Back to CodeIgniter Tutorials In this tutorial, I am going to show how to upload multiple files into a folder and insert its name in a database table. In an application, we may either have to upload a single or multiple files. Take freelancer.com portfolio page for instance. They allow freelancers to upload multiple files …

Read More