Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function aumentacoment($idtema_foro) {
$this->db->set('comentarios', 'comentarios + 1', FALSE);
$this->db->where('idtema_foro', $idtema_foro);
return $this->db->update('tema_foros', $data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment