即時得到這個錯誤在Linux服務器致命錯誤函數名稱必須是一個字符串24
Fatal error: Function name must be a string in /home/calaniz1/public_html/system/get_answers.php on line 24
function print_answers($dom){
$endl = "<br />";
$html = file_get_dom($dom);
$s=2;
$answer = array();
$answer_id = array();
$count_total = 0;
$count_index = 0;
$errflag = false;
foreach ($html('.closed') as $div) {
foreach ($div('select') as $ab){
$id = $ab->name;
$count_total ++ ;
$count_index = $count_total -1 ;
$answer_id[$count_index] = $id;
$answer[$count_index] = $ab->onmouseover;
}
但在我的電腦上我沒有得到任何錯誤...
哪一行是第24行?也請比較php版本。你可以在常量'echo PHP_VERSION;'中找到它 - 檢查是否有差異。 – hakre
我正在嘗試更新標記wiki。你的標籤ganon代表什麼? – SnareChops