PDA

View Full Version : Avoiding errors when " and ' are in a string


Phip
11-24-2002, 08:02 PM
I have a text field that may sometimes end up with " and ' in them. then go from the text field to a querystring, then i put them in a database. but sometimes it just doesn't put anything in or only a little bit of that string. how do i avoid this?

whammy
11-24-2002, 08:29 PM
Please read the "sticky" thread I posted here:

http://www.codingforums.com/showthread.php?s=&threadid=9843

It's there because many people ask this question. The only thing that should give you a problem is single quotes.