Dear all I am using PHP and Javascript, My Javascript conatains function get_data()
      function get_Data(){
       var name;
       var job;
       .....
       return buffer;
     }
Now I have PHP with following
  <?php
  $i=0;
  $buffer_data; 
  /*here I need to get the Value from Javascript get_data() of buffer;
 and assign to variable $buffer_data*/
  ?>
How to assign the javascript function data into the PHP variable?