i have a table Cases
case_id
case_title
a table Posts
post_id
post_title
and my relational table is case_post
case_id
post_id
priority
In my Case controller, i want to be able to relate multiple posts, so my controller code line is:
$this->grocery_crud->set_relation_n_n('posts', 'case_post', 'posts', 'case_id', 'post_id', 'post_title','priority');
it displays no problem in my edit page, but when i try and save, it doesnt...
i'm really struggling to see why
on my post controller, i am able to do it with a post_cat relational table, and even in the Case controller, if i utilize the post_cat code, it saves.. just not this table.. I've even tried rebuilding the table, but to no avail..
anyone seen this before?