Welcome Guest, Not a member yet? Register   Sign In
Delete cascade ?
#7

(06-15-2017, 08:27 AM)rtenny Wrote: Its all in the manual and much quicker to find then waiting for a reply in the forum

https://www.codeigniter.com/user_guide/d...mples.html

Thanks for all, I used an other solution 
PHP Code:
$this->db->select('*');
        
$this->db->from('article');
        
$this->db->join('blog_commentaires''blog_commentaires.id_article = article.id');
        
$this->db->where('statut'"0");
        
$this->db->order_by('blog_commentaires.date''DESC');
        
        
$this->comments $this->db->get()->result();

        return 
$this->comments
Reply


Messages In This Thread
Delete cascade ? - by tonny16 - 06-12-2017, 04:42 AM
RE: Delete cascade ? - by skunkbad - 06-12-2017, 08:34 AM
RE: Delete cascade ? - by Paradinight - 06-12-2017, 11:23 AM
RE: Delete cascade ? - by tonny16 - 06-14-2017, 07:19 AM
RE: Delete cascade ? - by rtenny - 06-15-2017, 08:23 AM
RE: Delete cascade ? - by rtenny - 06-15-2017, 08:27 AM
RE: Delete cascade ? - by tonny16 - 06-17-2017, 12:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB