[eluser]BrentNJ[/eluser]
Thank you for your patience.
This is what I have
<?php
class Contacts extends Controller {
function Contacts()
{
parent::Controller();
$this->load->helper('url');
$this->load->helper('form');
$this->load->library('auth'); // Loading the auth library
$this->auth->function(); // How to use a function in the auth library
}
function index()
{
$data['query'] = $this->db->get('contacts');
$this->auth->login();
$this->load->view('contacts_view',$data);
}
When I added the
$this->load->library('auth'); // Loading the auth library
$this->auth->function(); // How to use a function in the auth library
The page now shows a blank - not even the html or body tags