if ($artikkeli->getTyyppi() == "Uutinen") { echo " selected"; } ?> >Uutinen</option> </select><br><br> <label for="otsikko">Otsikko</label><br> <input type="text" id="otsikko" name="otsikko" value="<?php print htmlentities($artikkeli->getOtsikko(), ENT_QUOTES, "UTF-8"); ?> "> <?php echo "<br><p class=\"error\">" . $artikkeli->getError($otsikkoVirhe) . "</p>"; ?> <br><br> <label for="alaotsikko">Alaotsikko</label><br> <input type="text" id="alaotsikko" name="alaotsikko" value="<?php print html_entity_decode($artikkeli->getAlaotsikko(), ENT_QUOTES, "UTF-8"); ?> "> <?php echo "<br><p class=\"error\">" . $artikkeli->getError($alaotsikkoVirhe) . "</p>"; ?> <br><br> <label for="teksti">Teksti</label><br>