Database Error: DB Error: syntax error
    SELECT
      n.LineID,
      n.LineName_E,
      n.LineName_C,
      n.LineDesc_E,
      n.LineDesc_C,
      n.LineImage_1,
      n.LineImage_2,
      n.LineStatus,
      n.LineSeq
    FROM
      tblLine n
    WHERE 1 = 1
      AND n.LineID = 
  AND n.LineStatus NOT LIKE '%D%'  [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND n.LineStatus NOT LIKE '%D%'' at line 15]