An Error Was Encountered
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY alp_arb_categs.date ASC' at line 6
SELECT alp_arbiters.name AS catname, alp_arb_categs.category AS catid, alp_arb_categs.date, alp_arb_categs.num, alp_arb_categs.forder, alp_arb_orgs.name AS org, alp_arb_orgs.signer, alp_arb_orgs.signer2 FROM alp_arb_categs INNER JOIN alp_arbiters ON alp_arb_categs.category = alp_arbiters.id LEFT OUTER JOIN alp_arb_orgs ON alp_arb_categs.org = alp_arb_orgs.id WHERE alp_arb_categs.host_element_id = ORDER BY alp_arb_categs.date ASC