-
Notifications
You must be signed in to change notification settings - Fork 1
/
ajax_represent.php
36 lines (24 loc) · 921 Bytes
/
ajax_represent.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
//error_reporting(0);
require_once('./constant/connect');
/* echo$sql_service1 ="SELECT * FROM tbl_product WHERE id = 1";
$statement = $conn->prepare($sql_service1);
$statement->execute();
$service1 = $statement->fetch(PDO::FETCH_ASSOC);
$data['product']=$service1;
print_r($service1);
*/
?>
<?php
//include('connect.php');
$users_arr = array();
$sql1 = "SELECT * FROM tbl_client
WHERE id = '".$_POST['customer_id']."'";
$result1 = $connect->query($sql1);
$row = $result1->fetch_assoc();
echo$mob_no = $row['mob_no'];
/*$result1=$conn->query($sql_service1);
$service1 = mysqli_fetch_array($result1);
*//*$data['product']=$service1;
echo json_encode($data); exit;*/
?>