hi,
i have store in db the below output.where the user has entered using editor.
<p>This is some <strong>sample text</strong>. You are using</p>
i want the other users to view the output as we see in html pge
i.e i want to strip the tags

That's actually a function called strip_tags:

$text='<p>This is some <strong>sample text</strong>. You are using</p> ';
echo strip_tags($text);
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.