In this tutorial, we have to know about the CodeIgniter framework vs CakePHP framework features comparison. CakePHP and CodeIgniter are most often used in PHP frameworks. Both frameworks are support MVC(Model, View and Controller) structure and use routing methods.

CodeIgniter Vs CakePHP Framework Features Comparison
(more…)

In this post we have explained about how to create multiple database connection in codeigniter. Please do the following changes in your files.

Config.php:

Change the below following things in your config.php

$active_group = 'default';
$active_record = TRUE;

(more…)

In this  article we have explained about how to create custom Helper in Codeigniter. Helper is a group of functions but it is not a class.

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if ( ! function_exists('sample_method'))
{
    function sample_method($var = '')
    {
        return $var;
    }   
}

(more…)

To avoid the illegal words in your content as you are using codeigniter provide word_censor functions.Here we are brief explain about this function. First you mention what are the words are you going to skip from the content. Those values are maintain your table.

Table:

CREATE TABLE `test`.`get_illegal_words` (`word_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `illegal_word` VARCHAR(255) NOT NULL) ENGINE = InnoDB;

(more…)

Subscribe Our Channel

Email Subscription
Close
Copyright © 2015 - 2021 PHPEXPERTISE.COM