$.post text array in jquery
<p>I have a text array and need to post it to the server. When it runs correctly in my localhost, it doesn't run in the server. How can I send big text array in jquery?</p>

<p>my code is as follow:</p>

<pre><code>var my_array=new Array();

$.post(
    'add_lesson.php', {data:my_array},
    function(result) {
        ...
    }
)
</code></pre>
