initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Description of helpdesk model
|
||||
*
|
||||
* @author Liesbeth
|
||||
* @date april 25 2013
|
||||
*/
|
||||
|
||||
class Modhelpdesk extends MY_Model{
|
||||
|
||||
protected $tablename = 'tbHelpdesk';
|
||||
|
||||
function __construct(){
|
||||
parent::__construct();
|
||||
//$models = array();
|
||||
//$this->load->model($models);
|
||||
}
|
||||
function get_helpdesk(){
|
||||
$this->sql="SELECT email, telefoon,handleiding
|
||||
FROM tbHelpdesk
|
||||
WHERE id = 1";
|
||||
return $this->get_query_row();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user