Thecodesworld
  • Home
  • All Blog’s
  • WordPress
  • PHP
  • CodeIgniter
  • jQuery
  • Magento
  • Magento2
  • Open Cart

CodeIgniter

CodeIgniter

OR and AND command in codignator model with multiple parameter

First of all create a model and name it Customemodel.php ( Model name) in application->model folder and use the below code.

By Rajesh Kumar, 7 yearsJanuary 9, 2019 ago
CodeIgniter

Codeigniter : Redirect back to previous page

In the page that you want to go back to you can do: Then from controller you want to back:

By Sushant Vishwas, 9 years ago
CodeIgniter

Codeigniter: Only variable references should be returned by reference

Edit filename: core/Common.php, line number: 257 Before return $_config[0] =& $config; After $_config[0] =& $config; return $_config[0];

By Sushant Vishwas, 9 years ago
CodeIgniter

Codeigniter: Set Default Controller

Navigate to application/config/routes.php you will find a line like set your controller name whatever you want like:

By Sushant Vishwas, 9 years ago
CodeIgniter

Codeigniter: Removing the index.php file from url

By default, the index.php file will be included in your URLs: First Enable Your Apache server rewrite_module enable, And Create a .htacces file in your root folder with the following code:

By Sushant Vishwas, 9 years ago
CodeIgniter

Codeigniter: get query string in value in controller

Suppose you hav a url like this: and you need the color_id use the following code :

By Sushant Vishwas, 9 years ago
CodeIgniter

Codeigniter: insert multidimensional array data in database

Suppose you have an array like this: If you need to insert above data into 3 different tables named product_door_type, product_door_design , product_door_color : in your controller:

By Sushant Vishwas, 9 years ago
CodeIgniter

Jquery: Add dynamic fields and validate using jquery validation plugin

Html form where you will add dynamic fields: script for adding dynamic fields adddynamicelementscript.js: Modify your jquery.validate.js as follow : // checkForm: function() { // this.prepareForm(); // for ( var i = 0, elements = (this.currentElements = this.elements()); elements[i]; i++ ) { // this.check( elements[i] ); // } // return Read more…

By Sushant Vishwas, 9 years ago
CodeIgniter

Codeigniter: autofill form from database

Autocomplete Controller Autocomplete Model Autocomplete View Autocomplete Custom.js

By Sushant Vishwas, 9 years ago
Recent Posts
  • Magento 2:: Magento 2.3.4 cart price rule category selection issue.
  • WordPress:: Dynamic Custom Logo To WordPress Theme.
  • WordPress:: update plugin or theme from localHost
  • Magento 2 :: Invoice Date Issue (Override Magento core files)
  • Create a Git Repository In a project
Recent Comments
  • דירה דיסקרטית באשדוד on Magento 2 :: Get System Config data in js file.
  • דירות דיסקרטיות on Magento 2 :: Get System Config data in js file.
  • israelnightclub on Magento 2 :: Get System Config data in js file.
  • דירות דיסקרטיות במרכז on Magento 2 :: Get System Config data in js file.
  • נערות ליווי במרכז-israel night club on Magento 2 :: Get System Config data in js file.
Archives
  • June 2021
  • May 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • August 2019
  • July 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
Categories
  • CodeIgniter
  • Css
  • Extension
  • Git
  • Linux
  • Magento
  • Magento2
  • Open Cart
  • PHP
  • Php Mysql Ajax Jquery JavaScript Mysql
  • Uncategorized
  • Wampp/Xampp
  • WordPress
  • Linux
  • Php Mysql Ajax Jquery JavaScript Mysql
  • Wampp/Xampp
Hestia | Developed by ThemeIsle