I have a form, the contents of which gets emailed to someone. The form has a textarea and several radios.
If the user enters "John O'Connor" in the textarea the outputted value is "John O\'Connor".
One of the values in one of the radios is "Don't Know". If selected the outputted value is "Don".
I have tried a variety of functions like htmlentities(), htmlspecialchars(), etc and neither problem gets corrected.
I am new to PHP but I was handed a PHP website and asked to complete this task, so I haven't had enough time to go through a bunch of tutorials. I apologize if this is a simple question but I can't figure it out and need help soon.
Thank you!!
If the user enters "John O'Connor" in the textarea the outputted value is "John O\'Connor".
One of the values in one of the radios is "Don't Know". If selected the outputted value is "Don".
I have tried a variety of functions like htmlentities(), htmlspecialchars(), etc and neither problem gets corrected.
I am new to PHP but I was handed a PHP website and asked to complete this task, so I haven't had enough time to go through a bunch of tutorials. I apologize if this is a simple question but I can't figure it out and need help soon.
Thank you!!