ok

Mini Shell

Direktori : /proc/self/root/proc/self/root/home/keydecors/public_html/admin/pages/
Upload File :
Current File : //proc/self/root/proc/self/root/home/keydecors/public_html/admin/pages/getcate.php

<?php
include("../model/dboperation.php");

 
 $term=$_GET["term"];
 
 $query="SELECT * FROM prod_name where p_name like '%".$term."%' order by pro_id";
 $result = $mysqli->query($query);
 $json=array();
 
while($student = $result->fetch_assoc()) {
         $json[]=array(
                    'value'=> $student["p_name"],
                    'label'=>$student["p_name"]." - "
                        );
    }
 
 echo json_encode($json);
 
?>

Zerion Mini Shell 1.0