Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert Error

Status
Not open for further replies.

imryn

Programmer
Dec 2, 2002
75
US
Hello Everyone,

I am getting an Insert error in my message board when ever a user tries to enter something like this " The email address is from for Kathy's email " the issue is the " ' " how can I fix this?

Thanks,
imryn
 
try replace function...something like this...

Replace(myfield,"'","''")..so that your string looks like this:

" The email address is from for Kathy''s email "

-DNG
 
Thank you by the way. Case Closed, I used php str_replace to due the work for me.

imryn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top