hamza Posted October 17, 2008 Share Posted October 17, 2008 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"); } } ?> Quote Link to comment https://forums.phpfreaks.com/topic/128909-solved-codeigniter-problem/ Share on other sites More sharing options...
awpti Posted October 18, 2008 Share Posted October 18, 2008 The documentation covers this under the Libraries/Custom Libraries section. Quote Link to comment https://forums.phpfreaks.com/topic/128909-solved-codeigniter-problem/#findComment-668436 Share on other sites More sharing options...
hamza Posted October 23, 2008 Author Share Posted October 23, 2008 i had download the book so i will read that for further help. Quote Link to comment https://forums.phpfreaks.com/topic/128909-solved-codeigniter-problem/#findComment-673167 Share on other sites More sharing options...
hamza Posted October 26, 2008 Author Share Posted October 26, 2008 alright problem is solved Quote Link to comment https://forums.phpfreaks.com/topic/128909-solved-codeigniter-problem/#findComment-675168 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.