[eluser]tnathos[/eluser]
hi i try use transaction whit CI, i use this.
Code:
function abrir_transaccion()
{
$this->db->trans_begin();
$this->db->insert('prm_premium',array(
'idcliente' => $this->session->userdata('id'),
'marca' => $this->input->post('marca'),
'descripcion' => $this->input->post('descripcion'),
'web' => $this->input->post('web'),
'fechafinal' => $this->input->post('datepicker')));
}
but when run the function... show me a error tell me what the table dont exists in to the database.. omg but the table if exist!