【发布时间】:2014-05-16 06:31:52
【问题描述】:
我是 codeigniter 的新手,我有两个控制器:utility.php和welcome.php。
在utility.php,我有函数:
function getdata() {
//code here
}
function logdata() {
//code here
}
在welcome.php里面,我有这个功能:
function showpage() {
//some code here
//call functions here
}
我想做的是在我的welcome.php 中,我想从utility.php 调用函数。我该怎么做呢?谢谢。
【问题讨论】:
标签: php codeigniter controller