CodeIgniter Forums
[SOLVED] A letter 'C' appears when I use $this->load->database(); - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: [SOLVED] A letter 'C' appears when I use $this->load->database(); (/showthread.php?tid=36410)



[SOLVED] A letter 'C' appears when I use $this->load->database(); - El Forum - 11-30-2010

[eluser]JuanitoDelCielo[/eluser]
Hi, I'm want to use $this->load->database(); in the constructor of my Model, when I did this CI prints a letter 'C'. This just happens whe I use $this->load->database(); if I remove it the letter disappears.

I already check:

An extra character on my view.
Loading the Database class from my Controller
Load the Database using the third parameter of the $this->load->model()

But if I don't load any view the letter disappears also.

Any Ideas?

It was an extra character in config/database.php