Welcome Guest, Not a member yet? Register   Sign In
ques. about controller
#1

[eluser]Mostafa Hassan[/eluser]
hi all ,,

how can i include controller data into another controller ..

in smarty template engine ..

i use

Code:
<?php

include ('common.php');

?>

how can i do this in ci ??

thanks

more info :

i want to put main data of my website into one file called common.php
and then call it into any controller
#2

[eluser]John_Betong[/eluser]
 
Try searching the forum for ' extends My_Controller'.
 
 
 
#3

[eluser]Mostafa Hassan[/eluser]
yes i found some topics talking about my question .. i will try it and reply

thanks John Betong




Theme © iAndrew 2016 - Forum software by © MyBB