Is It Better To Escape/encode The User Input Before Storing It To Database Or To Store It As It Is In Database And Escape It While Retrieving?
I am using htmlspecialchars() function to prevent XSS attacks. I have doubt regarding what is the b…
Read more
Is It Better To Escape/encode The User Input Before Storing It To Database Or To Store It As It Is In Database And Escape It While Retrieving?