Update option in the database with html tags
-
Hello!
I’m using the update_option function to update a option in the DB.
The problem is that the update function have html tag protection or somthing like that so it update the content to the database like that:
Test<br><span style=\"font-weight: bold;\">Bold</span><br><span style=\"font-style: italic;\">Italic</span><br><span style=\"text-decoration: underline;\">Underline</span><br>
Instead like this:
Test<br><span style="font-weight: bold;">Bold</span><br><span style="font-style: italic;">Italic</span><br><span style="text-decoration: underline;">Underline</span><br>
Please help me, Thanks in advanced.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Update option in the database with html tags’ is closed to new replies.