----- Original Message ----- 
From: "whoisquilty"

When I insert into my database from a form, there are slashes added before 
quotes. What do
I need to do to get rid of this?

------------------------------------

I have come back to read your original question again.

Some SQL databases require escape characters '\' before quotes on SOME field 
types.

IF your field type does NOT require escapes then you have two option -
1) Remove them on incoming data.
HTML > strislashes() > mysql
2) remove them on outgoing data.
mysql > stripslashes() > HTML

IF your field type DOES require escapes then the only option is to remove 
them on the outgoing side.

The slashes issue for form data is a completely different issue to the 
slashes issue for mysql.


Reply via email to