⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Get current row value from set_relation...



tlc033
  • profile picture
  • Member

Posted 25 December 2012 - 07:50 AM

Hi.
Can i get current row value from set_relation for ex.


$crud->set_relation('section_id','sections','section_title',array('parent_id' => '1'));
$crud->set_relation_n_n('article_category', 'type_categ', 'categories', 'article_id', 'category_id','category_name',null,array('section_id' => '13'));




I need to get section_id (in my case 13) from preview set_relation() where section_id from set_relation() == section_id() where clause for set_relation_n_n()
THX for help and time.