Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
decoding mysql real escape string for outputting html using -'php,sql-injection,html-encode,mysql-real-escape-string'
decoding mysql real escape string for outputting html ¬†using -'php,sql-injection,html-encode,mysql-real-escape-string'
I'm trying to protect myself from sql injection and am using:
When posting HTML it looks something like this:
<p class="\"pClass\"" id="\"pId\""></p>
I'm not sure how many other variations real_escape_string adds so don't want to just replace a few and miss others... How do I "decode" this back into correctly formatted HTML, with something like:
Sep 7, 2015
to add a comment.
Related Hot Questions
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please