JQuery .post method problem with comma in php
<p>This Works fine and count returns 2:</p>

<pre><code>$request_ids="166409183417843,1913616994605";
$sent   = explode(',',$request_ids);
$count = count($sent);
</code></pre>

<p>But when using Jquery to post to another page sent var returns only the last id and count returns 1.</p>

<p>Page of origion:</p>

<pre><code>$(function(){
      $.post("process_ids.php", { request_ids: response.request_ids } );})
</code></pre>

<p>process_ids.php file:</p>

<pre><code>$sent   = explode(',', $_POST['request_ids']); 
$count = count($sent); 
</code></pre>

<p>I also checked with alert() the value of response.request_ids value and it's the same.
Something is totally screwed here, what's wrong? </p>
