ok
Direktori : /home2/selectio/www/lilyexpresslive/software/admin/ |
Current File : /home2/selectio/www/lilyexpresslive/software/admin/get_client_data.php |
<?php ob_start(); session_start(); include("inc/config.php"); $clinet_id = $_POST['id']; $statement = $pdo->prepare("SELECT * FROM tbl_user where id='$clinet_id'"); $statement->execute(); $result = $statement->fetchAll(PDO::FETCH_ASSOC); foreach ($result as $row) { $gst = $row['gst_no']; } $datas[] = array('gst' => $gst); echo json_encode($datas); ?>