-
Notifications
You must be signed in to change notification settings - Fork 0
/
show_discount_id_product.php
54 lines (49 loc) · 1.59 KB
/
show_discount_id_product.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
$card_id= $_SESSION['card_id'];
$card_id_search = $obj->search_rsult($card_id);
$card_id_search1 = $obj->search_rsult_id($card_id);
?>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<?php
$row = mysqli_fetch_array($card_id_search)
?>
<h2 class="" STYLE="color: #C73834;">Discount Card Name:- <?php echo $row['card_name'] ; ?></h2>
<ul>
<li><h3 style="color: #53A318"><?php echo $row['feature1'] ; ?></h3></li>
<li><h3 style="color: #53A318"><?php echo $row['feature2'] ; ?></h3></li>
</ul>
</div>
<div class="col-md-2"></div>
</div>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<h1 align="center">All Purchases Product</h1>
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr style="color: #53A318">
<td>Sl No</td>
<td>Company Name</td>
<td>Product Name</td>
</tr>
</thead>
<?php
$i=1;
while($row1 = mysqli_fetch_array($card_id_search1)){
?>
<tbody>
<tr >
<td style="width: 60px" align="center"><?php echo $i; ?></td>
<td><?php echo $row1['comp_name']; ?></td>
<td><?php echo $row1['prod_name']; ?></td>
</tr>
<?php $i++; } ?>
</tbody>
</table>
</div>
</div>
<div class="col-md-2"></div>
</div>