distinct and grab data while receiving it in php
<p>i have a jquery script wich send a get var with id to a page named ajaxprocess,php each time a specific element is clicked . i have 20 elements.</p>

<p>the idea is create a temp table with 3 field , each time element is clicked it stores its value in field 1 , second in field 2 and third in field 3 and stop , i just want to get 3 ids stored .</p>

<p>here is the code. the jQuery('#test').text(data); is to test if vars were sent. the elements are all like this :  .</p>

<pre><code>$(document).ready(function() {
    $(".element").click(function() {
        var path = $(this).attr('id');
        $.get('ajaxprocess.php', {
            Path: path
        }, function(data) {
            $('#test').text(data);
        });
    });
});
</code></pre>

<p>i tried to make a count but no success.
well i get perfect the first value sent when i click on an element . i want to grab this value on the database. then when i click on the second element i want to grab this second value to a second field until the third one.
how can i make this ?
please help</p>
