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 '' at line 1
SELECT wc_name, wc_id FROM webpage_content WHERE wc_lang = 'tc' AND wc_id =
SQL Error:
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 'ORDER BY wc_sort_id' at line 1
SELECT * FROM webpage_content WHERE wc_lang = 'tc' AND wc_sort_id <> 1000 AND wc_pid = ORDER BY wc_sort_id