How to use PHP htmlentities

0 votes

Currently, I'm using htmlentities() in my app to filter data coming from the database:

echo htmlentities($variable_name);

Since I'm in the USA, this works perfectly for me. For my friend who lives in Brazil, several text characters don't display properly.

How can I use htmlentities() to ensure adequate internationalization?

Jul 29, 2022 in HTML by Tejashwini
• 3,820 points

edited 5 days ago 8 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP