When I Pass Variable to php It Gives an Error that is :
Notice: Undefined index: email in C:\xampp\htdocs\TableTennis\admin\inc\chat.php on line 
if(window.location.hash!=""){
  var search=window.location.hash;
        var result =search.split('=');
        var email=result[1];
   $.post("inc/chat.php",{email:email});
}In PHP:
<?php 
echo $_POST['email'];
 ?> 
    