<?php
	session_start();
	include("connect.php");

	$par3 = $_GET['term'];
    //$par3 = $_GET['skills'];

	$query_mobile = "select * from res_trolley_master where trolleyqrcode like ('%".$par3."%')  order by trolleyqrcode asc LIMIT 0 , 20";
	
	$result_mobile = mysqli_query($conn, $query_mobile);
	
	if(mysqli_num_rows($result_mobile) > 0)
	{
		 while($rtcc = mysqli_fetch_assoc($result_mobile))
		{
			$data[] = $rtcc['trolleyqrcode'];
			
		}
		echo json_encode($data);
	}
	else
	{
		echo "";
	}
	
	
	
?>		