![]() |
How can i parse HTML from strings?
Hi!
i am building a content system, and i'm using a WYSIWYG toolbar, the data is stored in the DB, and in another page there is a query: PHP Code:
Code:
<STRONG>Hello</STRONG> How can i change this? and please be more spesific than ereg_replace. in other words, there is a field in my DB that stores "<Strong>Hello</strong>". when i fetch it, the output is "<Strong>Hello</strong>" and i want it to act as HTML and to be seen as a bold Hello, and not as a plain text. Thanks :) |
PHP Code:
|
I changed the post, now its clearer.
|
PHP Code:
|
It doesn't work Dismounted.
Though i used this function, the output remains <strong>Hello</strong> I think you read the first post, before i edited it. It's completely different. nevermind guys i found it! It's called html_entity_decode!!!!!!!! :) |
All times are GMT. The time now is 02:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|