how codeigniter join two tables to have both Id columns |
(03-27-2019, 03:39 AM)InsiteFX Wrote: Example: Thank you for your reply I change my code as below. now i access both id from two table as different name Code: $this->db->select('*,comment.id as comment_id,users.id as userid'); |
Messages In This Thread |
how codeigniter join two tables to have both Id columns - by hamid3d - 03-27-2019, 03:15 AM
RE: how codeigniter join two tables to have both Id columns - by InsiteFX - 03-27-2019, 03:39 AM
RE: how codeigniter join two tables to have both Id columns - by hamid3d - 03-27-2019, 04:41 AM
|