I have a situation like this, I want to update some data where the input are checkboxes, I was tried this code below. Data already saved in database, but data saved in another row, For example : I …
Tag: codeigniter-query-builder
Codeigniter 4 query builder join display only 1 time from first table
I have done up a query builder using join. I would like to show table 2, 3, 4, 5, 6 and so on based on the user id on table 1. I tried to query the result, it is showing like this : My Tables I will be using foreach loop and I believe it will display out multiple times
CodeIgniter – How to combine where() and where_not_in() in one query?
In one of my CodeIgniter based application, I need to combine both where() and where_not_in() in one single query. The query I wrote is: $where = array( ‘proj.project_code’ => $project_code ); …