Notice: Undefined index: ssIDPerfil in E:\Site\public_html\portal\avaliacao_diagnostica\avaliacao_diagnostica_perguntas.php on line 11 Notice: Undefined index: ssIDPerfil in E:\Site\public_html\portal\avaliacao_diagnostica\avaliacao_diagnostica_perguntas.php on line 24 Notice: Undefined index: ssIDUsuario in E:\Site\public_html\portal\avaliacao_diagnostica\avaliacao_diagnostica_perguntas.php on line 34 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 D.ID = 1 AND C.Ativo = 1 AND D.Ativo = 1 AN' at line 1