I have an upload form, and I want the form to automatically add \ to places where it is needed, for example...
Someone wrote the following into the news field:
"Bob and amy's dog needed cleaning"
if I did it manually it would look like this in the form
\"Bob and amy\' dog needed cleaning\"
Is there any way of adapting this line in my script to change other fields within my upload page?
$data = addslashes(fread(fopen($form_data, "r"), filesize($form_data)));
If this isn't adaptable please can you help with a new code?
Hope to hear from ppl soon.
Daniel