How to remove special characters but still allow HTML tags.Im getting data from Mysql Database
arafath077 0 Light Poster
Recommended Answers
Jump to PostMost modern examples of DBs I've seen are using charset
utf8mb4
and collationutf8mb4_unicode_ci
If you have php output or processing before or without a html
<meta charset="utf-8">
then before all that code, close to the top of the page, place this:header('Content-Type: text/html; …
All 4 Replies
network18 15 Practically a Master Poster
arafath077 0 Light Poster
network18 15 Practically a Master Poster
diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.