Welcome Guest, Not a member yet? Register   Sign In
Documentation ? and Requests
#1

(This post was last modified: 03-26-2019, 06:51 PM by ciadmin. Edit Reason: Edited formatting )

From https://www.codeigniter.com/user_guide/i...e_300.html

This not clear to me.  it says rename active_record ; but shows, active_group and a query_builder variable? 

Suggest edit[a) you need to add the following (if not there)
or
b)You need to change the following
or
3) This is what it looks like

Step 7: Update your config/database.php


Due to 3.0.0’s renaming of Active Record to Query Builder, inside your config/database.php, you will need to rename the 
Code:
$active_record

 variable to 

Code:
$query_builder

:

$active_group = 'default';
// $active_record = TRUE;
$query_builder = TRUE;
I wrote my first program in 15 minutes. It took me 3 hours to keypunch it.

I wrote my first BASH script in 5 minutes. It took me a day to find out I had to put a . (period) in front of it to get it to execute.
Reply


Messages In This Thread
Documentation ? and Requests - by gmgj - 03-26-2019, 03:07 PM
RE: Documentation ? and Requests - by InsiteFX - 03-27-2019, 03:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB