#1 hongrui
import (APP_PATH.'/controller/general.php');
class main extends general
{
function inc(){
$city = 'shanghai';
.......
}
function index(){
$this->inc();
var_dump($city); //这里要如何才能得到值???
}
}
2015-02-14 16:33:37
import (APP_PATH.'/controller/general.php');
class main extends general
{
function inc(){
$city = 'shanghai';
.......
}
function index(){
$this->inc();
var_dump($city); //这里要如何才能得到值???
}
}
2015-02-14 16:33:37
2015-02-17 22:19:15