27 lines
511 B
PHP
27 lines
511 B
PHP
<?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();
|
|
|
|
}
|
|
}
|