我知道,这个问题是重复的:
if (($_POST['os'] != "") || ($_POST['cp'] != "") || ($_POST['ser'] != "")) {
$var .= "left join (select bug_id,os,cp,service from category_bug_map where category_bug_map.os like '."$_POST['os']".' and category_bug_map.cp like '."$_POST['cp']".' and category_bug_map.service like '."$_POST['ser']".') as category_map on ( category_map.bug_id = bugs.bug_id)";
}
它表明,在 $var 上,意外的 T_VARIABLE。这有什么问题?