How to handle JS serialized item in PHP?
<p>Hey guys!
I am having a bit of trouble handling the data from a submitted form that is serialized with JS.
In the form there a textarea fields which users can input any text they want but when they enter &amp; like "apples &amp; oranges", I have trouble handling that.  As we know that JS serializes &amp; to %26 and spaces with a "+" sign.</p>

<p>So now back in PHP, I am trying to put this data into the database and call it back out elsewhere but for the life of me don't know how to handle the special characters properly.</p>

<p>Note that I am also php exploding the data at the "&amp;" sign to make it into an array, then is put into the database as an array.  I tried several methods like urldecode, htmlentities but those don't help because remember I need to explode at "&amp;".</p>

<p>I am serializing in JS because its an AJAX submitting form.</p>
