Welcome Guest, Not a member yet? Register   Sign In
Model method not inserting data into database
#7

(08-26-2015, 10:40 AM)Wouter60 Wrote: Can you show us the log_activity() method in your model?

Hi,

Here is the log_activity function:

PHP Code:
    public function log_activity($user_id=''$message='') {
        
$data = array(
                
'user_id' => $user_id,
                
'message' => $message
            
);
        
$this->db->insert('activity'$data);
    } 
Reply


Messages In This Thread
RE: Model method not inserting data into database - by cirox - 08-27-2015, 07:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB