I take a form and do variable checking in jquery then pass it to a php file in ajax but I am getting this notice
Notice: Undefined index: your_name in C:\\xampp\\htdocs\
You are getting value of your_name first and then checking if it exists
$your_name=$_POST["your_name"]; <--- this line should be inside an if isset
if(!isset($_POST['your_name'])){
Do something like the following
if (isset($_POST['your_name'])) {
$your_name = $_POST['your_name'];
// do whatever here
}