Welcome Guest, Not a member yet? Register   Sign In
Duplicate content with findAll() - CI4
#2

I solved it like this:

PHP Code:
public function lastComments($limit){
        return $this->query('SELECT * FROM comments LIMIT '.$limit)
            ->getResult();
    


But I would still like to understand why he duplicated the results that way, does anyone have any ideas?
Reply


Messages In This Thread
RE: Duplicate content with findAll() - CI4 - by Marcolino92 - 04-07-2020, 01:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB