jeudi 10 mars 2016

TinyMCE saves html tags in database.How to store data without thm tags?

I am using TinyMCE editor.When I am saving data into database it is storing HTML tags as well.I have used strip_tags() but did not got work.

When I try to store It Is storing like this <strong>paragraph</strong> in database.Can anyone tell how to store data without HTML tags in database.without loosing HTML effect.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire