1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

class Leden extends CI_Controller {

function __construct()
{
	parent::__construct();

	$this->load->model('leden_model');
}

function index() {

$data['leden_data'] = $this->leden_model->allLeden();
$this->load->view('leden_overzicht', $data); } 

}