Esempio n. 1
0
                
                <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>
                
                <textarea id="teksti" name="teksti"><?php 
print htmlentities($artikkeli->getTeksti(), ENT_QUOTES, "UTF-8");
?>
</textarea>
                <?php 
echo "<br><p class=\"error\">" . $artikkeli->getError($tekstiVirhe) . "</p>";