• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] A letter 'C' appears when I use $this->load->database();

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.