Welcome Guest, Not a member yet? Register   Sign In
Can´t select data PDO with CI 2.2.1
#7

(04-13-2015, 08:59 AM)mwhitney Wrote:
(04-08-2015, 05:36 AM)Jacker Wrote:
(04-08-2015, 05:19 AM)Avenirer Wrote: do a...



Code:
print_r($query->result());

Yeah did that earlier. It is empty. Here is the query result (print_r($query))

print_r($query) is not the same as print_r($query->result()). Nothing in $query will actually be populated with information from the database until you call a method to retrieve/verify data, such as result() or num_rows().

Does not mather. Active Records PDO drivers in CO 2.x is horrible broken. I have tried just about everything. The result is still the same. Even if my SQL will generate results....Acitve Records still returns nothing. I will go on without Active Records writing the PDO stuff myself.
Reply


Messages In This Thread
Can´t select data PDO with CI 2.2.1 - by Jacker - 04-08-2015, 04:58 AM
RE: Can´t select data PDO with CI 2.2.1 - by Jacker - 04-13-2015, 10:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB