I have a longtext
column in my database mysql. This column have HTML tags. When I echo this with PHP, the tags dont work.
Here is my echo
: <p><?php echo $data["news"][0]["cad_texto_noticia"]?></p>
And here is the output: <p>O Ministério da Justiça (MJ) deve decidir, até o fim de junho, se vai propor a redução de impostos sobre cigarros fabricados no Brasil. Em março, uma <a href="#">portaria assinada pelo ministro Sérgio Moro instituiu um grupo de trabalho</a></p>
I need the output to not show special characters and tags work.
#html #php