|
Hello,
One of the fields is a textarea where i plan to store html in the db and then display it on the page as html but im having trouble with this. This is the html code on the page
Si usted es ABOGADO o esta buscando UNO, aprenda en forma <span class="Estilo7">GRATUITA</span> como utilizar esta Herramienta!
so i added that on the db in phpmyadmin when i display it is fine this is what i do
<p align="center" class="Estilo3"><?php echo $row['first_line']; ?><br />
in another page i have a textarea where the user would be able to update that line,
<textarea name="fline" id="fline" cols="95" rows="6" value="<?php echo $fline; ?>"></textarea>
this line only displays this part of the data in that row. GRATUITA</span> como utilizar esta Herramienta"!
im not very familiar how to store this html in the db and display it back on the page, i read online suggestions about using htmlspecialchars() i tried it but no success :/ any help would be greatly appreciate it thanks...
|