codeigniter

Solutions on MaxInterview for codeigniter by the best coders in the world

showing results for - "codeigniter"
Gaia
31 Jul 2020
1composer create-project codeigniter4/appstarter --no-dev
2
Antonella
14 May 2016
1This is default database :
2
3$db['default'] = array(
4    ....
5  	....
6    'database' => 'mydatabase',
7    ....
8);
9Add another database at the bottom of database.php file
10
11$db['second'] = array(
12    ....
13  	....
14    'database' => 'mysecond',
15    ....
16);
17
18In autoload.php config file
19
20$autoload['libraries'] = array('database', 'email', 'session');
21
22The default database is worked fine by autoload the database library but second database load and connect by using constructor in model and controller...
23
24<?php
25    class Seconddb_model extends CI_Model {
26        function __construct(){
27            parent::__construct();
28            //load our second db and put in $db2
29            $this->db2 = $this->load->database('second', TRUE);
30        }
31
32        public function getsecondUsers(){
33            $query = $this->db2->get('members');
34            return $query->result(); 
35        }
36
37    }
38?>
Amelia
05 Feb 2018
1<h2><?php echo $title; ?></h2>
2
3<?php echo validation_errors(); ?>
4
5<?php echo form_open('news/create'); ?>
6
7    <label for="title">Title</label>
8    <input type="text" name="title" /><br />
9
10    <label for="text">Text</label>
11    <textarea name="text"></textarea><br />
12
13    <input type="submit" name="submit" value="Create news item" />
14
15</form>
16
Maeva
17 Nov 2016
1composer create-project codeigniter4/appstarter project-root
2
Hana
30 Oct 2019
1composer update
2
queries leading to this page
codeigniter 40 24codinighter logocodeigniter 4 documentationphp code ignitorcodeigniter 4 for php 8codeigniter 4download codeignitercodeigniter 4 hmvc codeigniter sites numbercodeigniter phpcodeigniter anfsstitem request master codeignitercodeigniter standalonephp codigniterci phpcodeigniter framework tutorialcodeigniter 2php frameworks codeignitercode ingitorcodeigniterinstall codeigniter 4code ignitor codeignitorinstall codeignitercodeigniter docscoubnt codeignitercordinator phpwhat is codeigniter 3fphp cicodeigniter realizecodeigniter documentationci 3 phpcodeigniter 4 sample projectcodeigniter php framework codeignitercodeigniter web frameworkscodeigniter installationwebsite codeigniterphp codeigniter codecodeigniter 3 documentationsource code donasi codeigniterphp codeigniterwhat is codeignitercode eginiterphp codeigniter frameworkhow to install codeigniter 4php code igniter e2 80 a2 codeignitercodeigniter web frameworkcodeigniter installcodeigniter 4 docphp codeignitorcodeigniter 21 3dphp coordinatorcoding codeigniterwhat is codeigniterwhat is the codeigniterwhat is codeigniter used forhow to install codeigniterinstall codeigniter using comosercoding nighter php frameworkcodeigniter php frameworkscodeigniter 4 docscodeigniter latest versioni codeignitercodeginitersmaty codeignitersource starter mastering codeigniter 4codeigniter 4 starter project downloadcodeigniter symbolcodinightercode ignitercode ig nitorcodeigniter 3fcodeigbator phpcodeigniter and laravelcodeigniter 4 instala c3 a7 c3 a3o manualcodeigniter tutorialcodeigniter 4 installationframework codeignitercodeigniter codeprojects in codeigniter 4 ci frame phpphp with codeigniter tutorialcodeigniter setupin codeignitercodeignaterphp igniterwhat is codignator why codeignatorcodeigniter 4 instalationcodeigniter 2 uscodeigniter php frameworkcodeigniter 3code igniter frameworkcodeigniter documentation 3what is code ignitorcodeigniter 24thishow to use codeigniter4 in php 8codeigniter framework 3codeigniter frameworkcodeigniter asynchronous processingcodeigniter in phpcodeignirterabout codeignitercodeigniter rockshow to download and install codeigniterwhat is codeigniter frameworkhow to add doc in codeigniterhow to start new codeigniter projectigniter phpcodeigniter what iscodeigniter 4 to dotnetframeworks cordigniterci codeignitercode ignitor web framecodeigniter framework hericherhow to install codeigniter 3coordinator phpwhats codeigniterhmvc code in codeignitercodinteger in phpcodinighter framework version workcodeigniter 4 starter kitcore ignitor phpcodeigniter4 documentationcodeigniter