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 'msg8789' at line 1
SELECT a.strId,a.strNameru,a.content,a.list,a.module,a.tpl,a.template,b.strShow,a.strLeft,a.strRight,a.mode,a.news,a.newscat,b.strId,a.lists,a.listscat,b.strRegistered FROM tbstructure as a inner join tbmenustructure as b on a.strId=b.sstrId where b.strId=91;msg8789