Notice: Undefined index: ssIDPerfil in E:\Site\public_html\portal\avaliacao_diagnostica\avaliacao_soft.php on line 11 Notice: Undefined index: ssIDUsuario in E:\Site\public_html\portal\avaliacao_diagnostica\avaliacao_soft.php on line 28 Ocorreu o seguinte erro: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 'AND B.IDPosicao = 1 AND C.ID = 1 AND C.Ativo = 1 AND D.Ativo = 1 AND E.Ativo = 1' at line 1