I am saving html data into mysql
like below
<p><div id="aaa">asdadad</div></p>
<p><div id="aaa">asdadad</div></p>
<div class="something">some data</div>
when showing the html as string in front end using php , it coverts all 3 lines(above) to html content not just string
But I expect the below result
first 2 line as string and 3rd line as html
I used:
html_entity_decode($content_from_db, ENT_QUOTES, 'utf-8');
` tags to your string, for no reason?
– cjds Jan 07 '13 at 01:49