[eluser]eokorie[/eluser]
Has something changed in CI database query system?
I have this simple code in my model file:
Code:
function getArticle($id) {
$this->db->where('id_art',$id);
$query = $this->db->get('blog_posts');
return $query->row();
}
When trying to display the result of this query in my view file, I get the following error:
[code]
A PHP Error was encountered
Severity: 4096
Message: Object of class stdClass could not be converted to string
Filename: libraries/Parser.php
Line Number: 101
[/code
Anyone noticing or having the same problem?