2017-04-14 210 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;

相关问题