Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello Monks.
I have a database of customers and their addresses. Some of the words in my address fields in the database contain apostrophe '. Now, when i get the address field , i pass it to javascript method for some more work. here is part of the code: my problem is that it gives me a runtime error when ever my address record contains an apostrophe character ('). My idea is that somehow i need to add an escape character in that record before the apostrophe, but i do not want to do that. Any other ideas, guys? Greatly appreciated. In reply to Clean a database record off an apostrophe ' by peacemaker1820
|
|