On one of my customers websites, I have a feedback form that automatically adds the feedback to the testimonials page by adding it to the testimonials database table and displays it on the testimonials page
I have noticed that if a special character like a ' or something, the feedback is not added
I can't remember how to do it so that the feedback is added if it has a special character in the text
Can someone help please
$str = "Is your name O'reilly?";
// Outputs: Is your name O\\'reilly?
This topic is now closed. New replies are no longer allowed.