i am getting value of input tag i.e an textarea converted into Fckeditor as:
"<p>bgfbgfbgf</p>\r\n"
i want to store my value in database after <p> tags get removed.
how should i remove the <p></p> tags from my value.
can anyone help me with this.?
Use
strip_tagsto remove tags andstr_replaceto remove\r\nif needed: