By: chezo
Date: 2010-05-05
Time: 20:15
|
Need help to display HTML textHi,
I want to display the text and image of the below block of text in my html file. hello world 1 <img src="http://localhost/mysite/images/smileys/sad.png" alt="Sad" /> This is a string that comes from the database and I display it in my html file like follows: <td>[blk1.message;block=tr]</td> I get this output in my PHP(output) file: hello world 1 <img src="http://localhost/mysite/images/smileys/sad.png" alt="Sad" /> But I want to display the text and the image! Is there some way of escaping the HTML data in the string? Please help Thanks |
|
By: Skrol29
Date: 2010-05-05
Time: 22:28
|
Re: Need help to display HTML textHi Chezo,
This question has been posted several times including few days ago.
|
|
By: chezo
Date: 2010-05-05
Time: 22:30
|
Re: Need help to display HTML textThanks!
It's working now :D |