ok
Direktori : /home/keydecors/public_html/ca/admin/app/ |
Current File : /home/keydecors/public_html/ca/admin/app/name_get.php |
<?php include("model/dboperation.php"); $searchTerm = $_GET['term']; //get matched data from skills table $query = $mysqli->query("SELECT * FROM swathi_patient WHERE patients_name LIKE '%".$searchTerm."%' ORDER BY ids "); while ($row = $query->fetch_assoc()) { $data[] = $row['patients_name']; } //return json data echo json_encode($data); ?>