ok
Direktori : /proc/self/root/proc/self/root/home/keydecors/public_html/admin/pages/ |
Current File : //proc/self/root/proc/self/root/home/keydecors/public_html/admin/pages/getpublisher.php |
<?php include("../model/dboperation.php"); $term=$_GET["term"]; $query="SELECT * FROM prod_details where p_name like '%".$term."%' order by p_id"; $result = $mysqli->query($query); $json=array(); while($student = $result->fetch_assoc()) { $json[]=array( 'value'=> $student["p_name"], 'label'=>$student["p_name"]." - ".$student["cate_gory"] ); } echo json_encode($json); ?>