Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Will CI detect connection itself?
Post: RE: Will CI detect connection itself?

albertleao Wrote: (05-17-2016, 07:43 PM) -- I'm not sure I completely understand what you mean by "check the existing connection" but codeigniter needs to have the database loaded beforehand. Is t...
3,890 Views
2 Replies
05-18-2016, 02:21 AM
chan15
    Thread: Will CI detect connection itself?
Post: Will CI detect connection itself?

There is a helper need to check something by connect to database in a loop, for example: view PHP Code: -- -- helper PHP Code: --
3,890 Views
2 Replies
05-17-2016, 07:23 AM
chan15
    Thread: How to use SQL_CALC_FOUND_ROWS function on active record with select method
Post: How to use SQL_CALC_FOUND_ROWS function on active ...

I know we can use SQL_CALC_FOUND_ROWS  and FOUND_ROWS() like PHP Code: -- $this->db->select('SQL_CALC_FOUND_ROWS *', false); // And get the result $query = $this->db->query('SELECT FOUND_ROWS(...
2,788 Views
0 Replies
04-14-2016, 08:21 PM
chan15
    Thread: How to get database stuff by using customized connection
Post: How to get database stuff by using customized conn...

I want to auto save the sql query every time, I found this article (http://jigarjain.com/blog/saving-all-db-queries-in-codeigniter/), if I do everything by the page it will work, but the problem is, I...
1,569 Views
0 Replies
03-18-2016, 09:41 AM
chan15

Theme © iAndrew 2016 - Forum software by © MyBB