Guest Brivtech Posted January 31, 2008 Share Posted January 31, 2008 Can anyone help with this? I'm using FCK editor as an additional input source in the same way that CC uses it. It also saves to the database in the same way. The problem I'm having is that when I'm echoing the code back onto the web page, it displays all the HTML code tags, rather than acting on them, for instance: First Line<br>Second Line ... where it should be: First Line Second Line What's going on here? Quote Link to comment Share on other sites More sharing options...
Guest EverythingWeb Posted January 31, 2008 Share Posted January 31, 2008 Can you post an example of the whole block of code that's not rendering properly. How are you echoing the HTML out? CubeCart uses a method called writeHTML() or validHTML() (Cant remember off top of my head). Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted February 13, 2008 Share Posted February 13, 2008 Sorry it took a while to get back to this, I've been a bit distracted. Looks like you spotted the problem straight on! I was using validHTML, and deleting it fixed the problem. I popped it in there, because I was working around some related code: $view_doc->assign("DOC_NAME",validHTML($result[0]['doc_name'])); ...which it obviously didn't need here. Cheers and many thanks. :( Quote Link to comment Share on other sites More sharing options...
Guest EverythingWeb Posted February 13, 2008 Share Posted February 13, 2008 :yeahhh: Glad you got it sorted :P 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.