|
-
Oct 2nd, 2002, 01:12 PM
#1
Thread Starter
Fanatic Member
Colums
I know this has been answered quite a few times, but I cant find it with the search. SO here it goes AGAIN.....
I want to save this text in my database
I'll go
but since it has the ' it sends me an error. I did the replace(str,"'","''") but that saves i''l go and I dont want that... I want I'll go
how can I do this?
"The difference between mad and genius is the success"
-
Oct 2nd, 2002, 01:16 PM
#2
Frenzied Member
Code:
myStr=replace(myStr, "'", "''")
'for you understanding same thing but with extra spaces
'replace(myStr," ' ", " ' ' ")
-
Oct 2nd, 2002, 02:59 PM
#3
Thread Starter
Fanatic Member
yeah but that will save '' in the database.. I just want one.. '
like this I'll go
not... I''ll go
??
"The difference between mad and genius is the success"
-
Oct 2nd, 2002, 03:16 PM
#4
Frenzied Member
-
Oct 2nd, 2002, 03:27 PM
#5
Thread Starter
Fanatic Member
it doesnt...!! I laredy tried!!
"The difference between mad and genius is the success"
-
Oct 2nd, 2002, 03:28 PM
#6
Thread Starter
Fanatic Member
"The difference between mad and genius is the success"
-
Oct 2nd, 2002, 03:30 PM
#7
how are you saving the data?
-
Oct 2nd, 2002, 03:32 PM
#8
Thread Starter
Fanatic Member
Oh it is working now.. sorry... it is so confusing....
"The difference between mad and genius is the success"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|