Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Can´t select data PDO with CI 2.2.1
Post: RE: Can´t select data PDO with CI 2.2.1

mwhitney Wrote: (04-13-2015, 08:59 AM) -- Jacker Wrote: (04-08-2015, 05:36 AM) -- Avenirer Wrote: (04-08-2015, 05:19 AM) -- do a... Code: -- print_r($query->result()); -- -- Yeah did that...
12,247 Views
6 Replies
04-13-2015, 10:50 PM
Jacker
    Thread: Can´t select data PDO with CI 2.2.1
Post: RE: Can´t get JOIN data using PDO with CI 2.2.1

Avenirer Wrote: (04-08-2015, 05:47 AM) -- This may be one stupid question... but do you have PDO installed? -- Yes, or else i would get an error. I have run the exact same code in earlier (hacked) ...
12,247 Views
6 Replies
04-08-2015, 05:51 AM
Jacker
    Thread: Save JSON string (PDO) into a SQLLite DB....duplicates!
Post: RE: Save JSON string (PDO) into a SQLLite DB....du...

gadelat Wrote: (04-08-2015, 05:11 AM) -- I already deleted that project, but I guess it was like this: PHP Code: -- $db['default']['hostname'] = 'sqlite:'.APPPATH.'config/sqlite-database.db'; ...
8,461 Views
4 Replies
04-08-2015, 05:39 AM
Jacker
    Thread: Can´t select data PDO with CI 2.2.1
Post: RE: Can´t get JOIN data using PDO with CI 2.2.1

Avenirer Wrote: (04-08-2015, 05:19 AM) -- do a... Code: -- print_r($query->result()); -- -- Yeah did that earlier. It is empty. Here is the query result (print_r($query)) CI_DB_pdo_result Ob...
12,247 Views
6 Replies
04-08-2015, 05:36 AM
Jacker
    Thread: Can´t select data PDO with CI 2.2.1
Post: Can´t select data PDO with CI 2.2.1

[UPDATE] Does not mater if it is a JOIN. I can´t get data period. So this does not work: $this->db->get('objects'); This will return nothing. However this will work: $data = array( 'moName' => 'some...
12,247 Views
6 Replies
04-08-2015, 04:58 AM
Jacker
    Thread: Save JSON string (PDO) into a SQLLite DB....duplicates!
Post: RE: Save JSON string (PDO) into a SQLLite DB....du...

gadelat Wrote: (04-07-2015, 03:51 PM) -- I tested this on fresh 2.2.1 and was unable to replicate this. So, this bug is not in framework. It's either bug of your application or sqlite library. -- T...
8,461 Views
4 Replies
04-08-2015, 12:16 AM
Jacker
    Thread: Save JSON string (PDO) into a SQLLite DB....duplicates!
Post: Save JSON string (PDO) into a SQLLite DB....duplic...

Ok, i tried to google this. And it took my hours to find this horrible "bug" or feature (PDO prepare?). So i am using SQLLite as my dev db and Codeigniter 2.2.0. The driver i am using is PDO. ...
8,461 Views
4 Replies
04-07-2015, 07:33 AM
Jacker

Theme © iAndrew 2016 - Forum software by © MyBB