Jump to content

[SOLVED] codeigniter problem


hamza

Recommended Posts

I want to load this file hello_framework.php.

tell me what else is required to load the page.

hello_framework.php. file is in myblog FOLDER.

this file contain echo simple.

 

controller file code is :

 

<?php

class Blog extends Controller {

 

  function __construct()

  {

parent::Controller();

$this->load->library('table');

 

$this->load->helper('url');

$this->load->helper('form');

 

  }

 

function index()

{

//echo 'Hello World!';

$data['title'] = "Hamza index page";

}

 

 

    function hello_framework() {   

     

      $data['title'] = "Hamza index page";

      $this->load->library("myblog/hello_framework.php");

 

  }

}

?>

 

 

Link to comment
https://forums.phpfreaks.com/topic/128909-solved-codeigniter-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.