><?php echo Demanda::getDescTipoAssunto("P"); ?> </option> <option value="R" <?php echo $tipoassunto == "R" ? "selected" : ""; ?> ><?php echo Demanda::getDescTipoAssunto("R"); ?> </option> <option value="S" <?php echo $tipoassunto == "S" ? "selected" : ""; ?> ><?php echo Demanda::getDescTipoAssunto("S"); ?> </option> </select> </td> </tr> <tr> <td align="left"><b>Secretaria:</b></td> <td align="left" width="100%"> <select name="idsecretaria" id="idsecretaria" onchange="preencheCombo('idcategoriaproblema','imgCarregandoCategoria','buscacategoriaproblema',this.value);"> <option value="">-- selecione --</option> <?php $rsCat = execQuery("select * from sis_secretaria order by nome"); ?> <?php while ($row = mysql_fetch_array($rsCat)) {