Contoh Query Select For Update SQL

function cek($key){
 $this->db->query("start transaction");
 return $this->db->query("SELECT jumlah from mytable where kode='$key' for update")->row();
}

...


EmoticonEmoticon