Re: [PHP-DB] Quotes in db fields

2002-01-18 Thread Miles Thompson
Addslashes on insert, stripslashes on output. Miles At 11:26 AM 1/18/2002 -0600, Faye Keesic wrote: >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? >

[PHP-DB] Quotes in db fields

2002-01-18 Thread Faye Keesic
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