suyesh.amatya Posted July 13, 2009 Share Posted July 13, 2009 I have used fckeditor in my php form.Now it inserts in the database in the pattern like: <p><span style="font-size: larger;"><span style="font-family: Comic Sans MS;"><em>We now offer high performance, low-cost web hosting with the reli-ability and customer service you have come to expect from NameCheap.com.</em></span></span></p> How can I apply this html settings when echoing the content of this table field.Thnx in advance Quote Link to comment https://forums.phpfreaks.com/topic/165758-solved-fckeditor-in-php/ Share on other sites More sharing options...
chanchelkumar Posted July 13, 2009 Share Posted July 13, 2009 change your table in the database Table Type to BLOB from TEXT it will work Quote Link to comment https://forums.phpfreaks.com/topic/165758-solved-fckeditor-in-php/#findComment-874360 Share on other sites More sharing options...
Andy-H Posted July 13, 2009 Share Posted July 13, 2009 Do you own namecheap.com??? Do you offer a cheap hosting package with the PHP Data Objects extension for MySQL? Quote Link to comment https://forums.phpfreaks.com/topic/165758-solved-fckeditor-in-php/#findComment-874365 Share on other sites More sharing options...
suyesh.amatya Posted July 13, 2009 Author Share Posted July 13, 2009 i HAVE changed the type to BLOB noew it displays like <p><p><p>asdadasd<strong>dadadad<em>dadasd</em></strong></p> <p><strong><em><u>asasas<span style="font-size: larger;">ASASAS</span></u></em></strong></p></p></p> I want this style directly applied while displaying in the browser.. Quote Link to comment https://forums.phpfreaks.com/topic/165758-solved-fckeditor-in-php/#findComment-874368 Share on other sites More sharing options...
Andy-H Posted July 13, 2009 Share Posted July 13, 2009 EDITED My bad, use <?php echo html_entity_decode($fetched_var); ?> Quote Link to comment https://forums.phpfreaks.com/topic/165758-solved-fckeditor-in-php/#findComment-874370 Share on other sites More sharing options...
suyesh.amatya Posted July 13, 2009 Author Share Posted July 13, 2009 thanks andy ..it worked Quote Link to comment https://forums.phpfreaks.com/topic/165758-solved-fckeditor-in-php/#findComment-874379 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.