2017-04-14 111 views
-2

對不起,我的新手和英語不好,我谷歌這個問題仍然不能理解什麼是錯的,請幫助我!解析錯誤:語法錯誤,意想不到的'if'(T_IF)

我有這個錯誤

Parse error: syntax error, unexpected 'if' (T_IF)

我的代碼

if (! isset($content_width)) {$content_width:474} if (! function_exists(twentyfourteen_setup)) : 
+1

你可能已經錯過了分號之前if語句 –

+1

請通過一些教程 –

+1

好像你在if語句之前錯過了分號。 –

回答

1

$content_width:474應該$content_width=474;

相關問題