Skip Navigation

Improve my code - function to sanitize input fields

chat-to.dev Chat Rooms and Programming Content | Chat-to.dev

Join chat rooms and explore programming content on Chat-to.dev.

Chat Rooms and Programming Content | Chat-to.dev

i created this function to sanitize the input fields on my site, but i need it (the function) to allow the input of some html tags. how can i improve the function to allow this?

6

You're viewing a single thread.

6 comments
You've viewed 6 comments.