i have created a board so user can post comment but, some error occured:
the special character ' is not recognize
it come like this:
correct word:
Hey I'm your life
turned to:
Hey I�m your life
This is because, i used:
<?php echo wordwrap(nl2br(htmlentities($message)), 200, "<br>\n", TRUE); ?>
htmlentities() allowed user to write html character
if i delete it, the ' character will printed out but, the html character will not showed up.
please help me. :(