[eluser]chmod[/eluser]
my sql is below:
$sql_add_point = "UPDATE member SET totalpoint = totalpoint + '$point',lastaddpoint = '$point' WHERE username='$username'";
Code:
$this->db->set('totalpoint','totalpoint' + $point);
$this->db->where('username',$username);
$res_add_point = $this->db->update('member');
Code:
$this->db->set('totalpoint','totalpoint' + $point);
this code is wrong,but what can i do?