最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定

我在瀏覽器中會顯示hello worldhello world。請問這是怎么回事?

<?php

require_once('function.php');

$controllerAllow=array('test','index');

$methodAllow=array('test','index','show');

$controller =in_array($_GET['controller'],$controllerAllow)?daddslashes($_GET['controller']):'index';

$method =in_array($_GET['method'],$methodAllow)?daddslashes($_GET['method']):'index';

C($controller,$method);

?>


<?php

class testController{

function show(){

$testModel = M('test');

$data = $testModel->get();

$testView = V('test');

$testView->display($data);

}

}

?>


正在回答

2 回答

function.php文件中老師寫過的“C('test','show');”注釋掉就可以了,我也有過同樣的問題。

0 回復(fù) 有任何疑惑可以回復(fù)我~

應(yīng)該是在哪里執(zhí)行過一次show()方法了

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

我在瀏覽器中會顯示hello worldhello world。請問這是怎么回事?

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號