「的語法錯誤,意外T_CONSTANT_ENCAPSED_STRING」這樣的錯誤面對我瞭解,一些與報價 而這僅僅是沒有到過是不是有什麼不工作可能是什麼問題語法錯誤,意想不到的T_CONSTANT_ENCAPSED_STRING
if (!session_admin())
{
@header ('Location: ' . $CONFIG['SITE_URL']);
}
if (($_POST['Action'] == 'Save' AND $_POST['submit']))
{
foreach ($_POST as $key => $value)
{
---> if ((($key != 'submit' AND $key != 'Action') AND $key != 'selectedtab') AND !isset ('key'))
{
if ((($key == 'SITE_TEMPLATE' AND $value != $CONFIG['SITE_TEMPLATE']) AND !$recache))
{
$recache = true;
}
$SQL = 'UPDATE ' . $_settings . ' SET value=\'' . $value . '\' WHERE setting=\'' . $key . '\'';
}
$$fieldname = trim ($value);
}
$Success[] = 'Site settings updated successfully.';
if ($recache)
{
@header ('Location: ' . @get_link ($cur_page . '?recache=true'));
}
else
{
if ((!$Error AND $CONFIG['caching_status']))
{
empty_cache_folder();
}
}
}
所有語言都有語法。這是什麼語言? – chepner 2014-09-05 14:51:42
它寫在php – 2014-09-05 14:52:59
使用'...'submit'&& $ key ...'而不是'...'submit'AND $ key ...' – Justinas 2014-09-05 14:55:47