Oracle problem

From: Date: Wed, 16 Oct 2002 07:50:43 +0000
Subject: Oracle problem
Groups: php.db 
Request: Send a blank email to php-db+get-22456@lists.php.net to get a copy of this message
Hi, Has anyone out there using PHP and Oracle come across this problem? I have a text area that allows free-form text that I store in a varchar2 column. I have problems with apostrophes in the free-form text. When users put in an apostrophe the SQL fails. If I force 3 apostrophes (the usual Oracle method of embedding apostrophes) the SQL fails. The only way to get round the problem is to strip them out (which I consider a work-around not a fix). Can anyone help? Neil Morgan Admin Computing Section University of Brighton Tel: +44 (0) 1273 64 3930

« previous php.db (#22456) next »