csrtechnew.ohctech.in/check_registration.php
2025-04-14 13:28:09 +05:30

31 lines
541 B
PHP

<?php
include('includes/config/config.php');
include('log_entry.php');
$batchid=$_REQUEST['batchid'];
$beneficiary=$_REQUEST['beneficiary'];
// $follow_up_routine=$_REQUEST['follow_up_routine'];
$query = " select * from placement_records where batch_name = '$batchid' and beneficiary='$beneficiary' ";
error_log("test_query : ".$query );
$result = @mysqli_query($conn,$query);
if($row = mysqli_fetch_assoc($result)){
echo json_encode("yes");
}else{
echo json_encode("no");
}