Travist6983 Posted January 31, 2011 Share Posted January 31, 2011 I am having an issue echoing the content from a custom field that i have called 'techspecs' I have added it to the database and i can post text to the database but when i call it on the page it looks like this: <p> Testing this area</p> <p> Second Line!!!</p> <p> sd</p> <p> asd</p> <p> fasdfasdf</p> I am using the wysywyg editor that the product description uses if this matters Thanks for any help on why it is putting the paragraph tags on the page instead of using them to display the text Quote Link to comment Share on other sites More sharing options...
oh_boy123 Posted February 1, 2011 Share Posted February 1, 2011 so your problem is you don't want the <p> and other html tag to appear in your web? if that is your problem, try this.. $str = '<div> Wow </div> <div> Yehey </div>'; echo html_entity_decode($str); output: Wow Yehey 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.