I am importing data into a database to a text field. However when I try to input
<strong> Hi There </strong>
I find it in the table (using php myadmin) as
"<strong> Hi There </strong>"
That displays it on my front webpage as
<strong> Hi There </strong>
Clearly not the desired result.
Any ideas here? I am using a regular text form.
When you are entering the data, it is probably being scrubbed - likely with
htmlspecialchars()
orhtmlentities()
To decode the tags, use
html_entity_decode()
http://php.net/manual/en/function.html-entity-decode.php