I'm trying to get urldecode to work on a php form I made.
the code I am using to decode the data from the original form is:
$blah = nl2br(urldecode($_POST["blah"]));
the urldecode part takes care of special characters showing up properly, so that for the most part works. and nl2br takes care of whitespace and crriage returns.
the problem I'm having is it doesn't properly decode the ' and " signs. instead of displaying ' or " as it should, it instead leads it with a \, like this: \' or \"
anyone know how I can fix this?