Answer the question
In order to leave comments, you need to log in
How to form a join query to the database to display unrelated data as well?
Such a query outputs a string and blocks within it. If there are no blocks, the line is not displayed. How can I make an empty line also displayed?
$this->db->from('blocs');
$this->db->join('rows', 'rows.id = blocs.id');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question