View Single Post
Old Nov 8th, 2005, 10:53 PM   #1
louis99
Newbie
 
Join Date: Nov 2005
Posts: 1
Rep Power: 0 louis99 is on a distinguished road
help: single quote(') cause error

Hi, I am new here

I have a text box, I put data from text box into a database.

For example, if I put the word That in text box. The query is successfully executed. But if I put That's then it will fails because a ' will causes the error.

What should I do to take care of that?

thanks
louis99 is offline   Reply With Quote