SELECT A.*, B.* FROM sld_portfolio AS A LEFT JOIN sld_portfolio_names AS B ON A.portfolio_id = B.portfolio_id AND B.languages_id = 1 WHERE A.portfolio_status = '0' AND A.portfolio_group_id = ORDER BY A.portfolio_priority

Warning: Cannot modify header information - headers already sent by (output started at /home/selldis/ in /home/selldis/ on line 86
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 A.portfolio_priority' at line 3