rajmohan Posted September 15, 2006 Share Posted September 15, 2006 hello guy,i am using one text editor where i store Mohan Raj Company in different font. It stored in database like below ,<STRONG><FONT face="Verdana, Arial, Helvetica, sans-serif" size=7><EM>Mohan Raj Company</EM></FONT></STRONG>While displaying this one it is printing the same, <STRONG><FONT face="Verdana, Arial, Helvetica, sans-serif" size=7><EM>Mohan Raj Company</EM></FONT></STRONG>How to avoid this help me Quote Link to comment Share on other sites More sharing options...
rajmohan Posted September 15, 2006 Author Share Posted September 15, 2006 Me itself find the solutionthe output of the contant should be followed by strip_tagsfor example $text = <STRONG><FONT face="Verdana, Arial, Helvetica, sans-serif" size=7><EM>Mohan Raj Company</EM></FONT></STRONG>;echo strip_tags($text);will produce Mohan Raj Company Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.