These are chat archives for codeigniter-id/codeigniter-id.github.io

8th
Apr 2016
MAZEN Kenjrawi
@MAZEN-Kenjrawi
Apr 08 2016 02:35
Hello World,
I've got three tables in the database, one for articles, the second for the writers, and the last one for sources. The articles may have multiple sources and single writer of course.
I wanna know how to make a single sql query using $this->db->join() to fetch an object, which has all attributes of the single article, writer and its multiple sources [as an array]. is it possible? thanx previously