Skip to Content
PHPCODE
September 26, 2021
CRUD operation in Codeigniter using Ajax
In CodeIgniter, CRUD Operations are the most often used web application capability. The CRUD (Create,…
September 25, 2021
Import CSV file data into MySQL database using CodeIgniter
The Bulk Data Import tool in the web application’s data management section is really beneficial.…
September 25, 2021
PayPal Pro integration in CodeIgniter
PayPal offers a variety of APIs for integrating a payment gateway into a web application.…
September 21, 2021
Stripe payment gateway integration in codeigniter
Stripe payment gateway is one of the most simple and powerful solutions for receiving payments…
September 20, 2021
Multiple file input fields in one form CodeIgniter
The most often utilised feature in the dynamic web application is the picture upload tool.…
September 11, 2021
codeigniter image upload and resize example
The File Upload class in CodeIgniter makes it easy to upload files to the server.…
September 11, 2021
drag and drop multiple image upload in codeigniter
Uploading files to the server with drag and drop is a simple process. In most…
September 11, 2021
jquery drag and drop save to database CodeIgniter
The draggable feature comes in handy when incorporating Drag and Drop capabilities into a web…
September 10, 2021
stripe payment gateway integration in codeigniter
On the web application, the Stripe payment gateway makes it simple to take subscription fees.…
August 31, 2021
Codeigniter
Codeigniter (1) Codeigniter Create Database (2) CodeIgniter Base Controller (3) Codeigniter Installation (4) Codeigniter Removing Index.php (5) Codeigniter Create Login…
October 5, 2018
CODEIGNITER BITAUTH MASTER IN CONTROLLER
CODEIGNITER BITAUTH MASTER IN CONTROLLER <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');…
August 8, 2018
CodeIgniter Image File Upload
Image File Upload in Codeignter alter TABLE articles add COLUMN image_path varchar(255) step 1 :…
August 8, 2018
CodeIgniter Project Completed.
Project Complated in codeignter step 1 : created articlsmodel.php function find in model { $q=$this->db->from(‘articles’)…
August 6, 2018
CodeIgniter Fixing bugs & adding date
Fixing bugs & adding Date in codeinter ALTER TABLE articles add COLUMN created_at timestamp ALTER…
August 6, 2018
CodeIgniter DRY – DON T REPEAT YOURSELF
Dry Don’t Repeat Yourself step 1: Created __construct function public function __construct() { parent::__construct(); if(!…
August 5, 2018
CodeIgniter Search with Pagination
Search with Pagination in Codeingter Step 1 : Created search_results.php in view <?php include (‘public_header.php’);?>…
August 5, 2018
CodeIgniter Search Articles
Serach Articles in Codeigniter step 1:- Created model search function public function search($query) { $q=$this->db->from(‘articles’)…
August 5, 2018
CodeIgniter Pagination Serial Numbers
Pagination Serial Number in Codeigniter step 1: created view in function <?php if(count($articles)): $count=$this->uri->segment(3,0); foreach($articles…
August 5, 2018
Codeigniter Public Articles Listing
public Articles Listing in Codeigniter Step 1 :- created view in articles_list.php <?php include (‘public_header.php’);?>…
August 5, 2018
CodeIgniter Customize Pagination Design
Created Customize Pagination Design step 1 :- Create Controller function dashboard public function dashboard() {…
August 3, 2018
CodeIgniter Pagination
Pagination in Codeigniter step 1:- Created function in model public function num_rows(){$user_id=$this->session->userdata('user_id');$query=$this->db->select(['title','id'])->from('articles')->where('user_id',$user_id)->get();return $query->num_rows(); } step…
August 2, 2018
CodeIgniter Delete Article
Delete Article in Codeigniter Step 1:- Created dashboard in view <div class=”col-lg-2″> <?= form_open(‘admin/delete_article’), form_hidden(‘article_id’,$article->id),…
August 2, 2018
CodeIgniter Article Updated.
Article Update in Codeigniter Step 1:- Created Update function in controller public function update_article($article_id) {…
August 2, 2018
CodeIgniter Edit Method in Model
Edit Method in Model Codeigniter step 1:- Created update_article function in model public function update_article($article_id,Array…
August 2, 2018
CodeIgniter Populate Edit Form
Populate Edit Form in Codeignter step 1:- Created edit.article.php in view <?php include_once(‘admin_header.php’); ?> <?php…
August 2, 2018
CodeIgniter Fetch Article for Edit
Fetch Article for Edit step 1 :- create file articlesmodel.php in model public function find_article($article_id)…
August 1, 2018
Codeigniter Edit Button
Edit Button in Codeigniter step 1: Created view in dashboard.php <?php if(count($articles)):?> <?php foreach($articles as…
August 1, 2018
CodeIgniter Provide Feedback to User
Provide Feedback to user in Codeignter step 1:- Controller created file name admin store_article function…
August 1, 2018
CodeIgnite Insert Article
Insert Article in codeigniter Step 1:- Created model articlesmodel.php public function add_article($array) { return $this->db->insert(‘articles’,$array);…
July 31, 2018
CodeIgniter Form Validation in Config File
Form validation in config file with Codeigniter step 1 :- go to config file and…
PHPCODE © 2023