CodeIgniter Template : Adding Header, Footer and Dynamic Content

CodeIgniter MVC work on a separate layer, applying MVC pattern, it is recommended that header, footer, side menu bar should be separate. Benefits of using these architectures are. If your website contains multiple pages and all have a header, footer and menu bar and if you want to make some changes on header so you …

CodeIgniter Image Library For Image Manipulation

While developing any web application there is a need to manipulate image dynamically such as while uploading an image. In this tutorial we are going to explain an example, which shows how to use CodeIgniter’s image library for Image Manipulation. You can find Image_Lib.php class inside your CodeIgniter project’s system/libraries folder. First load image_lib library in your …

CodeIgniter Simple Login Form With Sessions

In this tutorial, we are going to learn about creating a simple login form in CodeIgniter. In login form, we made registration module, login module and admin panel using sessions. We also have a paid ready-to-use advance login & registration module built on CodeIgniter that you can check out at CodeIgniter Login Registration Form. Creating sessions …

Set JavaScript Form Action

In this tutorial, we illustrate you an example, which shows how to set JavaScript form action. Sometimes developers want to set form action attribute of a form through programming or through other means. Here, we are using following JavaScript code to set form action on run time. To set form action attribute via JavaScript : document.getElementById(“form_id”).action = “success.php”; …