hai friends...i have a doubt in php..I am using Tiny MCE editor..i want to know how to get style for the content i have entered in editor but not print the html tags in my website..how it is poosible????\

Recommended Answers

All 2 Replies

You want to know the value of the style attributes? Or? You'd have to write a regex PHP parser for that, or maybe you can do some nice stuff parsing it using Javascript?

Member Avatar for diafol

Sounds like you want to strip all the html tags from the text? If so, use strip_tags(). Not sure what you want. Can you explain further with an example?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.