Try using htmlspecialchars()
on the string to put into the DB, and then, when pulling it back out, use htmlspecialchars_decode()
. Might make a difference.
More Related Contents:
- when i refresh will delete all records
- Calling a function on click of button in HTML/PHP [closed]
- PHP mkdir with form input and security
- PHP Errors – Total of four [closed]
- syntax error unexpect something [closed]
- Run php code inside .html() jQuery function
- Call php function from JavaScript
- Ajax Upload image
- How can I echo HTML in PHP?
- How to read if a checkbox is checked in PHP?
- method=”post” enctype=”text/plain” are not compatible?
- HTML Element Array, name=”something[]” or name=”something”?
- POST an array from an HTML form without javascript [duplicate]
- Converting HTML to plain text in PHP for e-mail
- Best way to avoid the submit due to a refresh of the page
- HTML – Change\Update page contents without refreshing\reloading the page
- How to write a stored procedure using phpmyadmin and how to use it through php?
- PHP POST not working
- “slash before every quote” problem [duplicate]
- How to embed images in html email
- Send PHP HTML mail with attachments
- Make mp3 seekable PHP
- how to extract links and titles from a .html page?
- PHP: Inserting Values from the Form into MySQL
- Escaping/encoding single quotes in JSON encoded HTML5 data attributes
- How to Validate Google reCaptcha on Form Submit
- HREF=”” automatically adds to current page URL (in PHP). Can’t figure it out
- How do I keep whitespace formatting using PHP/HTML?
- Getting All $_POST From Multiple Select Value
- saving checkbox state on reload