Php html is printing as it is on the page -


i have , html string : <div class="short-description"> <h2></h2> <div class="std"><p>this <strong>1-1/2 in 25 ft. deluxe in-ground pool vacuum hose</strong> fits in-ground residential , commercial pool cleaning applications. continuous spiral wound construction of vacuum hose provides excellent flexibility , strength. smooth spiral design inner wall allows maximum efficiency of water flow.</p><br /><p><em>**color may blue or grey**</em></p></div> </div>

i encoded using htmlentities , again decoding using html_entity_decode decoding when on web browser coming : "<div></div>" html printed out on page.

i know not related encoding html saved in db table idea on this.

thanks

you seem have double-encoded entities. post php code if can't figure out, looks encoding html-entity-encoded string.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -