-1

Possible Duplicate:
Converting HTML to plain text in PHP for e-mail

I've a HTML code make with a WYSIWYG (CKEditor) and this introduce DIV, P, SPAN and some others in my HTML which cause the HTML do not display like others. Exists any way to remove those extra markups with PHP?

Community
  • 1
  • 1
ReynierPM
  • 17,594
  • 53
  • 193
  • 363

1 Answers1

2

Yes, there is a function name strip_tags, for more detail, please read the official document at: http://php.net/manual/en/function.strip-tags.php

lotusphp
  • 227
  • 1
  • 3