-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> -----Original Message----- > From: Boyd, David [mailto:[EMAIL PROTECTED]] > Sent: 23 October 2001 19:15 > To: EmbPerl News Group (E-mail) > Subject: Help working with html, embper, and oracle > > > I am having the following problem. > > I have some textareas on my html page. the problems come in when > the user enter single and/or double quotes and carrage returns in > the text area, does > a save to the database. Then when the info is read back out of > the database > there is errors on the html page and nothing is displayed. > > i would like for the user to be able to enter single and double > quotes and carrage returns in these areas. basically save the > formatting. > ... Hi, I had the same problem with a MySQL database, however there is the DBI function quote which treats quotes in a way that correspondends to the database you selected in the database handler $dbh= DBI->connect ("dbi:oeracle........); $quotedstring=$dbh->quote($stringwithquotes); hava a nice day peter - ------------------------------------- PGP Public Key may be downloaded at: http://www.infofreak.at/PeterMayr.asc - ------------------------------------- -----BEGIN PGP SIGNATURE----- Version: PGP 7.0.4 iQA/AwUBO9Z0VlQyF72FK9dGEQLqVwCg6H6KuSFwxOleD7xTVZe9XJMHo7sAoNb5 MTeVoBWsO0eVZ/+U3CpI0Iha =/qIe -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]