Welcome Guest, Not a member yet? Register   Sign In
Connecting to second db issue
#11

[eluser]Bramme[/eluser]
nope, what's that?


edit: okay, i feel like a fool :p It works now. Thanks again xwero.

Well actually, it sorta works. I only get one result, and not the tut I want but that's probably just my query.
#12

[eluser]Derek Allard[/eluser]
[quote author="Bramme" date="1218635935"]edit: okay, i feel like a fool :p It works now. Thanks again xwero.

Well actually, it sorta works. I only get one result, and not the tut I want but that's probably just my query.[/quote]

Do you want the bug report closed out Bramme?
#13

[eluser]Bramme[/eluser]
Nope, most certainly not, because the bug I reported persists. This only works when I connect using a second config group. If I use the DNS method, it fails and $query remains empty.
#14

[eluser]Derek Allard[/eluser]
Fair 'nuff... if you want to add any additional information, suggestions for code changes, etc, I'd welcome them here.
#15

[eluser]xwero[/eluser]
Bramme use
Code:
$con = $this->load->database($dsn, TRUE, TRUE);
If you want to use AR methods. Just discovered it in the loader library code Smile

So it was a AR problem after all. In the user guide there is no mention of a third parameter of the load->database method. You can change the bug rapport to undocumented parameter.




Theme © iAndrew 2016 - Forum software by © MyBB