MOON
Server: Apache
System: Linux host.sunshiene.com 4.18.0-553.121.1.el8_10.x86_64 #1 SMP Thu Apr 30 09:06:34 EDT 2026 x86_64
User: clientsoftwares (1005)
PHP: 8.1.34
Disabled: system, exec, mail, shell_exec, passthru, popen, proc_open, pcntl_exec, dl, ini_alter, ini_restore, symlink, link, chown, posix_kill
Upload Files
File: /home/clientsoftwares/.trash/application/models/Reminder_model.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class reminder_model extends CI_Model{
	
	public function add_reminder($data) { 
		return	$this->db->insert('reminder',$data);
	} 
    public function getall_reminder() { 
      $this->db->select("reminder.*,vehicles.v_name");
	  $this->db->from('reminder');
	  $this->db->join('vehicles', 'reminder.r_v_id=vehicles.v_id','LEFT');
	  $this->db->order_by('r_v_id','desc');
	  $query = $this->db->get();
	  return $query->result_array();
	} 
	public function deletereminder($r_id) { 
		$this->db->where('r_id', $r_id);
    	$this->db->delete('reminder');
    	return true;
    }
	
}