Advertisement
Guest User

Untitled

a guest
Apr 7th, 2014
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.60 KB | None | 0 0
  1.        public function modificado_log($t, $primary_key) ///
  2.         {
  3.             $user = $this->ion_auth->user()->row();
  4.             $query = $this->db->get('actividades');
  5.             foreach ($query->result() as $row)
  6.             {
  7.                 echo $row->actividades;
  8.             }
  9.             $t['actividades'] = $row->actividades . '<br>' . $this->input->post('actividades') . '<br><i>Registrado por ' . $user->username . ' a las ' . date("Y-m-d H:i:s") . '</i><br>';                          
  10.             $t['modificado'] = date("Y-m-d H:i:s");
  11.             return $t;            
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement