see this article of the website of grocery-crud:
http://www.grocerycrud.com/documentation/options_functions/add_action
for testing I used this line:
$crud->add_action('Smileys', 'http://www.grocerycrud.com/assets/uploads/general/smiley.png', 'test');
so when I point my mouse on the smiley I see the adress ..../index.php/test/1 (primary key)
I have a model with this function:
that calls
$this->db->where('cust_id', '1');
how do I manage to pass that primary key as a variable ?
It's hard for me to explain, I hope you guys know what I mean.
so I want the pk from the add_function stored so I can use that variable in a model
Regards,
Ralph