• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.