⚠ 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

Having a error with callback_before_delete



Tsukihime86
  • profile picture
  • Member

Posted 23 September 2012 - 02:20 AM

Hi, I really apreciate if somebody help me with this. I use the "callback_before_delete" and made this function:



public function eliminarRegistros($primary_key){

$this->load->model(array("misinventariosmodelo"));
$validacion = $this->misinventariosmodelo->eliminarInventario($primary_key);

if ($validacion == true)
return true;
else
return false;

}


That function deletes the rows but give me a wrong message and don't refresh the data
[attachment=295:pic.PNG]

Thanks for your help

victor
  • profile picture
  • Member

Posted 23 September 2012 - 11:00 AM

maybe
/topic/884-having-error-with-delete/

Tsukihime86
  • profile picture
  • Member

Posted 26 September 2012 - 21:34 PM

That didn't work, thanks anyway :(