1064: SELECT farmermsg.*,farmerto.farmerto FROM farmermsg,farmerto where farmermsg.published='Yes' and farmermsg.idto=farmerto.idto and farmermsg.msgid=
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 '' at line 1