The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
PHP Code:
|
#3
|
|||
|
|||
I changed the post, now its clearer.
|
#4
|
||||
|
||||
PHP Code:
|
#5
|
|||
|
|||
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!!!!!!!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|