Possible Duplicate:
syntax error, unexpected T_GOTO, expecting T_STRING解析錯誤:語法錯誤,意想不到的T_GOTO,期待T_STRING或 '(' 當A/B/C /在線function.php 406
我上傳這個,但它顯示錯誤:
<?
function goto($url="") {
echo"<meta http-equiv=\"refresh\" content=\"1;url=$url\">";
}
?>
?
Parse error: syntax error, unexpected T_GOTO, expecting T_STRING or '(' in /a/b/p/function.php on line 406.
我怎樣才能解決這個錯誤
沒有不敬,但你甚至讀過錯誤代碼?搜索谷歌的「語法錯誤,意想不到的T_GOTO,期待T_STRING」立即給出了一個解決方案...即使在堆棧溢出:http://stackoverflow.com/questions/7258697/syntax-error-unexpected-t-goto-expecting -t-string – cegfault