php Encode and decode html tags -


i using html_entity_decode($str) decode html tags, cannot able decode text. show ? " " in output... have used htmlentities encode , @ display time decode also. problem not solve.you can watch output @ 'http://www.aspits.com/aspits/testimonials.php'. suffering please me. have tried things not able solution this. in database appear correct means in database entry "test" when show on front end display ?test? output...

do character sets in database , html match?

if not, make them. assuming using utf-8.

<meta http-equiv="content-type" content=text/html; charset=utf-8" /> 

i'll assume mysql (please tag database using).

set names 'utf-8' 

update

just looked @ your site. informing browser using utf-8.

please check database.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -