|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Colino Smarty Rookie
Joined: 25 Sep 2009 Posts: 11
|
Posted: Tue Sep 28, 2010 5:29 pm Post subject: print html tags |
|
|
Hi,
i get from a mysql db a record with html code, when i try to print it, smarty in tpl prints tags too, i need that it will show strong text with <strong>, go to a new line when comes in touch with <br/> and so on
can you help me?? _________________ ------------
http://intotheapp.blogspot.com
make everything with free software |
|
Back to top |
|
klappi Guest
|
Posted: Tue Sep 28, 2010 11:20 pm Post subject: Re: print html tags |
|
|
Provide example input, output and expected output
Colino wrote: | Hi,
i get from a mysql db a record with html code, when i try to print it, smarty in tpl prints tags too, i need that it will show strong text with <strong>, go to a new line when comes in touch with <br/> and so on
can you help me?? |
|
|
Back to top |
|
Colino Smarty Rookie
Joined: 25 Sep 2009 Posts: 11
|
Posted: Fri Oct 01, 2010 12:15 pm Post subject: |
|
|
problem solved using replace function to convert < and &rt; as < > _________________ ------------
http://intotheapp.blogspot.com
make everything with free software |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|