How to pass the data from a POST into a parameter?
<p>I have this code right here:</p>

<pre><code>$('#add_club_button').click(function(){
    $('#add_club_button_ajax').show();
    $.post('&lt;?php echo base_url()?&gt;addClub/save',$('#add_club_form').serialize(),function(data){
        if(data == 'OK'){               
            //refresh
            $('#add_club_button_ajax').click(function() {
                      location.reload();
            });             

             $.unblockUI(); //unblock
            $('#add_club_button_ajax').hide();                  

        }
        //c(data);
    });     
});
</code></pre>

<p>What I want is to store the data I get from <code>POST</code> (e.g. id and name) to the database. My problem is that I don't know how to get the data I get from <code>POST</code>.</p>
