Hello, I am trying to insert random text into a MySQL field. I am having problem in (data = '$datafile') if the original data contain single quote ('). How can I automatically add a trailing slash if found before each single quote in the data?