[4] ErrorException in 93b45309d4928fde1db96d63663cda94.php line 526

语法错误: unexpected 'LIKE' (T_STRING)

  1. if ($_GET[$_fieldname] != '不限' && $_GET[$_fieldname] != '') {
  2. $_filelist = explode(',', $_GET[$_fieldname]);
  3. $_instr = "";
  4. foreach ($_filelist as $key2 => $value2) {
  5. if ($value2) {
  6. $_instr = $_instr ? $_instr." OR ($_fieldname LIKE '%".$value2."%')" : "($_fieldname LIKE '%".$value2."%')";
  7. }
  8. }
  9. $_sqlstr = $_sqlstr."($_instr) ";
  10. }else{
  11. $_sqlstr = $_sqlstr."( 1 = 1 ) ";
  12. }
  13. $_pageurlarr[$_fieldname] = $_GET[$_fieldname];
  14. }else{
  15. if ($value1 == 'or') {
  16. $_sqlstr = $_sqlstr."or ";
  17. }