Quotes in db fields
| From: | Faye Keesic | Date: | Fri, 18 Jan 2002 17:26:22 +0000 |
| Subject: | Quotes in db fields | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15972@lists.php.net to get a copy of this message | ||
Hi there..
Just wondered why some of my db fields are getting chopped wherever an
occurrence of a quote (") is.
I used the stripslashes() function before saving them. would this be why?
Do quotes need slashes in front of them when stored/being written in the db?
Maybe I should use stripslashes only when I am outputting the fields to the
web pages....
Note: I started to use stripslashes because I was getting many slashes in
front of any quotes.... the number of slashes doubled each time the form
was previewed...
--
Faye Keesic
Computer Programmer Analyst/Web Page Design