Welcome Guest, Not a member yet? Register   Sign In
Call functions in to model..
#16

[eluser]tnathos[/eluser]
this is the funtion.. what do bad?

function resta(){
$restTransa = array ('quota'=> $this->session->userdata('valPlatOr') - $this->input->post('valTrans'),
'dateChange'=>mdate("%Y-%m-%d %h:%i:%a", time()));
$this->db->where('idBalance',$this->session->userdata('idBalance'));
$this->db->update('table',$restTransa);
}


Messages In This Thread
Call functions in to model.. - by El Forum - 05-02-2009, 08:09 PM
Call functions in to model.. - by El Forum - 05-03-2009, 01:56 AM
Call functions in to model.. - by El Forum - 05-03-2009, 03:55 AM
Call functions in to model.. - by El Forum - 05-03-2009, 09:13 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:06 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:23 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:25 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:27 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:31 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:48 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:59 AM
Call functions in to model.. - by El Forum - 05-03-2009, 12:26 PM
Call functions in to model.. - by El Forum - 05-04-2009, 08:05 AM
Call functions in to model.. - by El Forum - 05-04-2009, 08:38 AM
Call functions in to model.. - by El Forum - 05-04-2009, 10:10 AM
Call functions in to model.. - by El Forum - 05-04-2009, 05:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB