[eluser]kurniawan joko purnomo[/eluser]
[quote author="fesweb" date="1312103651"]I haven't tried this, but you can probably do something like this;
Code:
function process()
{
if($this->input->form('edit') !== FALSE)
{
}
if($this->input->form('delete') !== FALSE)
{
}
}
HOWEVER it will be easier to manage your controllers if you have those buttons call separate methods. You can either use links instead (add ID to url and you can dress them up to look like buttons with CSS), or create two separate forms for each record (one to delete and one to edit.
Then, your controller looks like this:
Code:
function edit()
{
}
function delete()
{
}
[/quote]
Thanks for reply with alternate one and work for me.