uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : server.wtmmart.in
Kernel : Linux server.wtmmart.in 4.18.0-553.45.1.el8_10.x86_64 #1 SMP Wed Mar 19 09:44:46 EDT 2025 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home2
/
wtmwscom
/
public_html
/
member
/
product_u.php
/
/
<?php include 'header.php';?> <h3>My product purchase </h3> <table border="1" style="border-collapse:collapse;"> <thead> <tr> <th>Sno.</th> <th> P. Code </th> <th> P. Name </th> <th> Franchise ID </th> <th> Franchise name </th> <th> P. Cost </th> <th>B.V.</th> <th>BV. amount</th> <th> Qty. </th> <th>Purchase date</th> </tr> </thead> <tbody> <?php $uid = $_SESSION['userid']; $count = 1; $query = "select pr.pcode as pcode, pr.pname as pname, pr.pv as pv, pr.pcost as pcost, f.fid as fid, f.name as name, ps.quantity as quantity, ps.pv_amount as pv_amount, ps.date as date from product as pr, franchise as f, product_sale as ps where pr.pid = ps.pid and f.fid = ps.fid and ps.uid = $uid"; $result = mysqli_query($connection, $query); while($row = mysqli_fetch_object($result)){ echo "<tr><td>$count</td><td>$row->pcode</td> <td>$row->pname</td> <td>$row->fid</td> <td>$row->name</td><td>$row->pcost</td> <td>$row->pv</td><td>$row->pv_amount</td><td>$row->quantity</td> <td>$row->date</td> <tr> "; $count++; } ?> </tbody> </table> <?php include "footer.php";?>
/home2/wtmwscom/public_html/member/product_u.php