hi guys!i need your help again.I have a database and i load the content in a textarea but the text is coming with html tags:<p><span class> etc...and if i load it directly in a table,without the textarea the content is showed normally.

hope u can help me again!thank in advance!

$text = strip_tags($text);

This will strip out all html tags. You can also optionaly pass anouther parimeter after the string to leave specified tags in place.

thank you man!!

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.