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"); } } ?> 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. 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. 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 Link to comment https://forums.phpfreaks.com/topic/128909-solved-codeigniter-problem/#findComment-675168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.