Re: Cold Fusion -> MySQL/PHP newbie question

From: Date: Tue, 18 Jul 2000 13:03:59 +0000
Subject: Re: Cold Fusion -> MySQL/PHP newbie question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7063@lists.php.net to get a copy of this message
At 09:15 AM 7/18/00 -0700, you wrote: >I'm running into problems with some of the text fields contents. I want to have <textarea> type of fields that allow the user to enter larger volumes of text. However, when certain puncuations are used in the field, it's generating sytax errors in the the sql sections of the code. use AddSlashes on the data that is to be inserted into the table, and then stripslashes on it after you've retrieved it. That should do the trick.

« previous php.general (#7063) next »