-
inverted comma problem in rich text
Hi!
I am using Rich Text Box Script.
& it is working cool i am storing the data in database
but when it have any inverted comma in the test "here's the "preloaded content" "
it gives error
BuntyIndia
-
-
This isn't a javascript question.
Are you using php?
If so, before adding to your database, use:
$data = addslashes($data);
Then, do display, use:
$data = stripslashes($data);
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
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
Bookmarks