0
我寫爲.csv文件,我的PHP裏面我有以下行導致上述錯誤:FWRITE,語法錯誤unexpeted T_BOOLEAN_AND
if ($playerH1 == "Choose Player") && strlen($highlightsplayerH1) > 0){} else {fwrite($fs,$playerH1." - ".$ph1."\n");}
我寫爲.csv文件,我的PHP裏面我有以下行導致上述錯誤:FWRITE,語法錯誤unexpeted T_BOOLEAN_AND
if ($playerH1 == "Choose Player") && strlen($highlightsplayerH1) > 0){} else {fwrite($fs,$playerH1." - ".$ph1."\n");}
計算括號。 – deceze 2012-04-29 06:03:09
可能的重複:http://stackoverflow.com/questions/2641595/t-boolean-and-error – hakre 2012-04-29 08:01:34