How to use the data received from PHP with jquery Ajax
<p>My question is related to the data being received from the Php file. Firstly I will post the code below so you have a clearer picture.</p>

<pre><code>$(function(){
$(".test").click(function(){

var name =$(this).attr('name');
var info = 'test=' + name;
var div= name;
var its= $(this);

    $.ajax({  
     type: "GET",  
     url: "test.php",  
     data: info,  
     success: 

  function(data)

  {  

    its.closest('.a_cont').find('.cont6R').html(data)}  


               });        

     });
           });
</code></pre>

<p>Ok I am performing a check in the php file (if the mysql_num_rows is == 1) if this is True I want to slideDown a div with Jquery. What I dont understand how will I tell jquery that the if statement is true and it should slide the div down. I hope I am making some sense and lastly could some one tell me the data I am currently receiving is due to the echo function in php can I receive data If I dont echo also? Please kindly post an example how this all works so I can learn from it cheers much appreciated!</p>
