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_crt_dt LIMIT 1' at line 1
SELECT wc_pid
FROM webpage_content
WHERE wc_lang = 'en' AND wc_id =
ORDER BY wc_crt_dt
LIMIT 1
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 'AND wc_show = 'Y' ORDER BY wc_sort_id, wc_crt_dt' at line 1
SELECT wc_name, wc_id, wc_pid, wc_url, wc_blank
FROM webpage_content
WHERE wc_lang = 'en' AND wc_pid = AND wc_show = 'Y'
ORDER BY wc_sort_id, wc_crt_dt