Skip to content

After joining two tables (categories, post) I am able to get only single post #13

@amguruprasath

Description

@amguruprasath

if($slug === FALSE){ $this->db->order_by('posts.id', 'DESC'); $this->db->join('categories', 'categories.id = posts.category_id'); $query = $this->db->get('posts'); return $query->result_array();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions