i have a hyperlink with data property id="Phone System"
<a id="Phone System" class="push" href="#">test</a>
i want to load a php file in div id="drop1" with get/post method
<div>
<div id="drop1"></div>
<div id="drop2"></div>
</div>
here is the ajax code, the data id="Phone System" will be send to php file dropcategory.php
$(function(){
   $('.push').click(function(){
      var id = $(this).attr('id');
       $.ajax({
          type : 'get',
           url : 'dropcategory.php', 
          data :  'cat='+id, 
       success : function(r)
           {
              $("#drop1").show();
           }
      });
   });
});
and here is the php file dropcategory.php
    require ('connect.php');
      $cat = $_GET['cat'];
   //some query operation
i have no idea how to show php file with determined parameter
 
     
    