Receiving JQuery $.post data and returning specific results with PHP
<p>I'm trying to make a dynamic website on a single webpage and I'm almost there. All that's left is to do some php coding. </p>

<p>Here is a few lines of code from my "index.php"</p>

<pre><code>$('.open').click(function(){
    current = $(this).html();
    $.post("source.php",  {name: current}, function(src){
        $('#codeBox').html(src);
    }); 
});
</code></pre>

<p>How do I check the value of "current" in my php file and return data specific to the link I click on?</p>
