September 1st, 2000, 02:16 PM
Using Oracle database to insert a string with single quote, does not update tne letters after the quotes are lost. How do I maintain the whole lot.
September 1st, 2000, 02:38 PM
use before inputing it into the db
$string = addslashes($string);
September 1st, 2000, 02:46 PM
Nope this does not solve the problem.
Here is some more details. I have a form accepting say name and the entered name has a single quote in it(say) then i submit the form for error when I view the file again the text after the single quote is gone.
September 1st, 2000, 03:03 PM
Hmm, I just tried a fake form and printed the filed after submission and I put a name with a single quote in and it printed fine, sorry